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

Websphere MQ Questions

  • 1.  Websphere MQ Questions

    Posted 12/09/03 09:25 PM

    We are using the Websphere MQ Adapter version 3.0 in a high volume environment. A “listen” operation is used to detect the arrival of a message in the MQ queue and to invoke an IS message handling service. Because sync point processing is being used, the message remains in the queue until the handling service invokes the MQ adapter “wm.MQSeries.runtime.commit” service.

    The MQ Adapter user guide says that connection pooling is not used for Get, Put or Listen operations when sync point processing is being used.

    Does this mean that the adapter must reestablish the connection to the MQ Queue Manager each time a message is retrieved or is a permanent connection maintained with the MQ Queue Manager while the “listen” operation is active?

    What performance tuning guidelines are there for high-volume MQ environments when sync point processing is employed?

    Regards,

    Mark


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


  • 2.  RE: Websphere MQ Questions

    Posted 12/17/03 12:00 AM

    I confirmed today that while the Websphere MQ adapter does not use connection pooling when accessing queues using sync point processing, it does not have to reestablish the connection with each get or put. The connection is maintained until a commit or rollback service is invoked with that connectionID.

    BTW, version 6 of the Websphere MQ adapter is planned for early Q1 2004. It will use the 6.0 Adapter Runtime (ART) and will therefore be able to leverage the ART’s connection management and logging features and will allow developers to create adapter services using Developer.

    Early indications are that the new adapter is significantly faster (in test environments) than the current 3.0 version.

    Mark


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


  • 3.  RE: Websphere MQ Questions

    Posted 04/08/04 05:18 PM

    I’m running IS 6.0.1 SP2 with WebSphere MQ Adapter 3.0 SP3 Fix 6-12 on Solaris 8. I’m pooling my connections with min of 5, max of 20 and Inactive Lifetime of 10 sec. We are noticing that connections are not being torn down on the MQ side once they have been created by my Request/Reply Message handler service. After speaking with our MQ administrator, I learned that MQ server doesn’t tear down a connection unless the client explicitly requests it. This doesn’t seem too odd to me b/c I know the WmDB package behaved similarly WRT connection management. What do you all recommend as a best practice for closing connections that are opened?

    Thanks,
    Rajesh


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


  • 4.  RE: Websphere MQ Questions

    Posted 04/08/04 06:19 PM

    The recently released 6.x version of the Websphere MQ Adapter leverages the IS 6.x ART’s connection management capabilities. I would expect that this has resulted in greater stability and improved performance.

    Mark


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


  • 5.  RE: Websphere MQ Questions

    Posted 04/08/04 06:39 PM

    Mark - Yes, I’ve installed the new WebSphere MQ Adapter 6.0 on our sandbox and played around with it a bit. It looks very much like the JDBC Adapter 6.x since, as you said, it leverages the ART’s functionality.

    Unfortunately, we are currently bound to the the 3.x MQ Adapter. I believe there is a C function called “mqdisc” (i.e., MQ disconnect) and I was hoping the MQSeries provided similar built-in service.

    Has anyone found a similar method exposed in MQ’s java API that will let me explicitly close a connection to MQ?


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


  • 6.  RE: Websphere MQ Questions

    Posted 07/07/04 06:15 PM

    Just to follow up on an earlier post, the MQQueueManager class in com.ibm.mq.jar has a method qMgr.disconnect() that closes an open connection.


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


  • 7.  RE: Websphere MQ Questions

    Posted 09/01/04 08:24 AM


  • 8.  RE: Websphere MQ Questions

    Posted 09/09/04 08:04 PM

    Hello all:

    I have tried to find the exact solution to this in the forums but no luck…
    I am having a problem in taking the MsgId from a msg on the request queue and mapping this to the CorrelId of the response. Some how the last 3-4 char of the Corrrelation id get changed from the request to response, i was reading thru some pages and there was a mention that this is a known bug. Has anyone in here exp this and found a way to resove this.
    I am using IS 4.6, MQ Adapter 3.0. My request and response queues are set up between websphere and IS.

    Appreciate all the help.
    Thanks!

    Harsh Uchariya


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


  • 9.  RE: Websphere MQ Questions

    Posted 12/01/04 04:04 PM

    Hi Carl,
    I am getting the following error:

    An error occurred while tracing.

    com.wm.pkg.imdk.im.IMException: unable to get a connection from the pool.

    What does this mean? I have restarted the server and it still gives my this error.


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


  • 10.  RE: Websphere MQ Questions

    Posted 12/13/10 03:32 PM

    Hello,

    did you fix this problem cuz I have the same one ??
    if ok, so please tell me how you did

    Thanks


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