Announcement

Collapse
No announcement yet.

any one have knowledge of passing java object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • any one have knowledge of passing java object

    hi to all,

    i am very much impressed of this forums, it helped me a lot,
    i have one more requirement, please help me out in this area also.

    i have one java bean object create by accessing fields from HL7 message, but how can i send this object to my destination/ my destination will be JMS message writer.

    i am not able to see any thing related to this created object in my destination template

    please contribute your help, looking forward for your replay.

    my code :

    var obj=new Packages.myPac.Me();
    logger.info(obj);
    return obj;
    -------------------------------------now i have pass this object to any destination
    my code
    regards,
    Noor.

  • #2
    Re:any one have knowledge of passing java object

    Code:
    connectorMap.put('myobj', obj);
    On your destination template you MIGHT be able to do ${myobj} however I believe Mirth only handles sending text (UNICODE/ASCII) data to a JMS writer, not binary objects.
    Chris Lang

    Comment


    • #3
      Re:any one have knowledge of passing java object

      Is it possible to utilize Mule's ObjectToXML transformer to serialize the object into XML and then send to the JMS endpoint? Actually, it is possible to use the Mule object not currently being used by Mirth?

      Comment

      Working...
      X