IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

sendStream and receiveStream usage in JMS

  • 1.  sendStream and receiveStream usage in JMS

    Posted 02/03/14 07:51 AM

    Hi Experts,

    I am using webMethods IS 8.2.2. I want to do JMS Communication within the IS, by using sendStream & receiveStream services.Here i created JMS connection alias with NoTransaction. created Client group and specified in JMS Connection alias.

    I am sending stream data in Sender Service by using “pub.jms.wmjms:sendStream”.
    created trigger for the particular destination(queue, that i have created with client group and specified in JMS Conn alias).

    specified subscribing service that i have created with “pub.jms.wmjms:receiveStream”
    When i trying to run the sender service i am getting the following error. Help me

    trigger failed: com.wm.app.b2b.server.ServiceException: java.lang.NullPointerException


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods
    #Broker-JMS


  • 2.  RE: sendStream and receiveStream usage in JMS

    Posted 02/04/14 07:05 AM

    @Akash,

    What I understood from the JMS documentation. The large JMS message is not meant for pub-sub. You need to write a service, [including pub.jms.wmjms:receiveStream] which keep polling the queue/topic to read the stream.

    Ref: http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_ga/Integration_Server/8-2-SP1_Integration_Server_Built-In_Services_Reference.pdf

    Page: 366, last para.

    You might want to use the scheduler capabilities within Integration Server to schedule a service that receives and then process large messages from webMethods JMS Provider. For more information about scheduling services, see Administering webMethods Integration Server.

    HTH.

    Thanks,
    Rankesh


    #Broker-JMS
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods