web stats
JMS Reader (/Writer) and non TextMessage - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-16-2012, 06:14 AM
Ex˙ Ex˙ is offline
What's HL7?
Join Date: Aug 2007
Location: Berlin
Posts: 2
Default JMS Reader (/Writer) and non TextMessage

Hi all,

I'm reading a JMS queue by a JMS Reader channel which works well (except JNDI issues discussed elsewhere) as long as the message put into the queue is a javax.jms.TextMessage.

If the message is a javax.jms.BytesMessage (and that was the default before) the channel just seems to issue the .toString method to the payload and continues to proceed with the pointer representation to the byte array.

Actually, not too much content in there...

Is there a chance to process anything else besides a TextMessage or do I have to convert everything into a String before queueing?


Reply With Quote

bytesmessage, jms, textmessage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 03:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation