SpringXD: ClassCastException of same class between modules in a stream
问题 I have a custom Spring XD source module that uses Spring Social for Twitter and outputs Tweet objects. This is working just fine. I can log the output of the source and see the Tweet objects listed. I can change the output type of the source for that stream to application/json to see the output at JSON. This works as expected. I then created a processor module that will create a new object from that Tweet and output it. The transform message expects a GenericMessage containing a Tweet object