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
  • 1.  GetMsg and PutMsg vs. ReceiveMsg and SendMsg

    Posted 12/13/02 02:27 PM

    Hello,

    I was curious when I should use a getmsg and putmsg versus a receivemsg and sendmsg operation. It seems the getMsg and receivemsg are synonymous to each other. Thanks in advance.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: GetMsg and PutMsg vs. ReceiveMsg and SendMsg

    Posted 12/16/02 02:05 PM

    Phillip,

    • The SendMsg operation was kept for backward compatibility and is similar to the PutMsg operation. The PutMsg operation is recommended for new configurations.

    • The GetMsg and ReceiveMsg operations are not synonymous:

    The ReceiveMsg operation establishes a separate thread to monitor an MQSeries queue for messages. When a message appears on the queue, the ReceiveMsg operation receives the message from the queue, and publishes it as a Broker Document, causing the initiation of an integration component. The ReceiveMsg operation then continues to monitor the queue for more messages. The ReceiveMsg thread will continue to monitor the queue until the adapter is shutdown.

    By contrast, the GetMsg operation is used to receive one message from an MQSeries queue. It is invoked as part of an integration component, and
    returns the message to the integration in a Broker Document. The document can then be published by the integration component. The GetMsg operation cannot cause the initiation of an integration component.


    Don Sargent
    Product Manager
    webMethods, Inc.
    Adapter Technologies Group
    work: 703-460-2501
    mobile: 703-472-4199


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 3.  RE: GetMsg and PutMsg vs. ReceiveMsg and SendMsg

    Posted 12/16/02 02:22 PM

    Hi, Don,

    I am trying to use ReceiveMsg to listen to two queues from one queue manager, and it is clearly stated in the document; I created two entries of “readQueueName” fields with two different queue names that are on the same queue manager.
    It turned out that the results observed are inconsistent.

    Could you let me know if this is a bug to be fixed or something I may have done wrong in my integrations or configured operation?

    Thanks a lot.

    Jay
    jay.shen@mckesson.com


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: GetMsg and PutMsg vs. ReceiveMsg and SendMsg

    Posted 12/17/02 03:48 PM

    Jay,

    The adapter can’t use two instances of the ‘readQueueName’ filter field in the same configured operation. You should create
    two configured operations, one for each queue.


    Don Sargent
    Product Manager
    webMethods, Inc.
    Adapter Technologies Group
    work: 703-460-2501
    mobile: 703-472-4199


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards