These are chat archives for spring-cloud/spring-cloud
convertFromInternala little more gracefully for my case.
BusJacksonMessageConverteris a non-public class in
BusJacksonAutoConfiguration.javawhich prevents me from extending it and reusing all the boilerplate stuff it has to implement -(
MessageConverters down the chain kick in if i do not throw an exception in
MappingJackson2MassageConvertertakes over for the base type
RemoteApplicationEvent, but still cannot resolve the type id of my concrete event class.
@StreamListener(…) acceptRemote(RemoteApplicationEvent event)dispatcher call, but that forces me to convert to
RemoteApplicationEvent. I had hoped to discard the message when the message converter returns
@StreamListener(…) acceptRemote(Tuple data)dispatcher call, getting the type info from the tuple, decide on myself if i can convert that class given the
ObjectMapperat hand, and selectively publish the remote event in my application (or not)