Nov 28th, 2010, 07:12 AM
Sending Smack Messages Using ChatMessageSendingMessageHandler
I never thought to look at the ChatMessageSendingMessageHandler, but it looks like this only supports sending text [i.e. org.jivesoftware.smack.Chat.sendMessage(String text)]. I was hoping this would also support sending a full Smack message. While I can certainly work with this limitation by including an extra transformer in the my workflow before the message enters the outbound XMPP adapter, I was hoping the ChatMessageSendingMessageHandler would handle converting the Spring Integration message into a Smack message for me.
Any thoughts on this? Seems like a minor issue (if even an issue at all), and maybe this was considered during development as is working as designed.
Nov 28th, 2010, 08:44 AM
Please open a JIRA improvement request. We should be able to accept payload as a Smack Message for sending, since we support it on the receiving side where you can receive either just text of the entire Smack message.
Nov 28th, 2010, 12:04 PM