Announcement

Collapse

Mirth Connect 4.3.0 Released!

Mirth Connect 4.3.0 is now available as an appliance update and on our GitHub page.

This is a major release containing new features like adding new functionality to the Mirth Connect Setup Wizard, adding the ability for resource and channel-specific classloaders to load child-first or parent-first, and added a default implementation of the getObjectsForSwaggerExamples() method in the ServicePlugin class. This release also contains enhancements for the Mirth Connect Administrator Launcher, the Mirth Connect Docker images, and several bug fixes and security improvements.

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

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

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