Mirth Connect 4.1.0 Released!

Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

help me to pass ObjectMessage to my JMS Wrtiter

  • Filter
  • Time
  • Show
Clear All
new posts

  • help me to pass ObjectMessage to my JMS Wrtiter

    hi to all,

    I am working on mirth 1.5 jms writer, i am able to send the Text message to my Message driven bean deployed in jboss but i coud not able to send ObjectMessage to my Jboss MessageDrivenBean. if any one know how to send please farword the procedure to me please.

    I am able to cerate java Object in my mirth transformer when i am sending this object to MessageUueue in jboss it gives the exception of ClassCastException : ObjectMesssage, even thiough i am send the Object from mirth, mirth could not able to wrap in to ObjectMessage automatically, mirth is sending the javaObject directly to server/queue, there at my server/queue i am receiving the same javaObject rather than it wrapped into ObjectMessage Class, problem is MessageDrivenBean will take the message which is an object of any one of these: TextMessage,ObjectMessage,StreamMessage.

    Thank u in advance.
    looking forward for your replay.

  • #2
    Re:help me to pass ObjectMessage to my JMS Wrtiter

    Hi shaiknoor_basha,
    I am in almost the same situation that you are in. See my post:

    Can you please help me with how to create the java object in mirth transformer? Did you create the object in the filter using javascript like...
    var message = new Hl7Message();
    I tried that - but mirth says it does not recognize my custom class. I put the class in a JAR and dropped it in the {mirth_home}/lib directory and restarted mirth. But I did not see mirth being able to recognize the custom class.
    Also, how do you tell Mirth to pass the newly created object to the MessageQueue?

    Thanks a lot for your help.
    - jose mathews