Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   JMS Reader (/Writer) and non TextMessage (http://www.mirthcorp.com/community/forums/showthread.php?t=7212)

Ex˙ 06-16-2012 06:14 AM

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?

Thx,

Stefan


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

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