Announcement Announcement Module
No announcement yet.
JSONMessageConverter Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSONMessageConverter

    Working with having spring amqp pull JSON messages from a rabbit instance and convert them to message objects for me.

    However, when I try to run it, I get error that I don't have a method for handleMessage([B)

    If I create a handleMessage that takes in a byte[], then the messages come through fine.

    I extended the MessageConverter class and adding logging to spit out the content type, and it correctly identified as JSON, but the converter doesn't seem to want to load it.

    What's the trick to getting spring-amqp to process through the JSONMessageConverter? I can post snippets from spring config, class, etc..... Just let me know what would be most helpful. Didn't want to paste to much and have it be useless.