Topic
  • 5 replies
  • Latest Post - ‏2010-12-10T14:06:24Z by sreelathas
JoeGLi
JoeGLi
15 Posts

Pinned topic MQ api's allowed in custom sender

‏2010-12-03T07:43:32Z |
Hi,

When creating a custom sender, is it possible for your custom code to access MQ via the MQ java api's?

Or is JMS the only way to access MQ.

Thanks,
Joe
Updated on 2010-12-10T14:06:24Z at 2010-12-10T14:06:24Z by sreelathas
  • AvV
    AvV
    117 Posts

    Re: MQ api's allowed in custom sender

    ‏2010-12-03T08:30:42Z  
    Joe,

    it is advised to use the JMS API. However, you can do some specific WMQ 6.0 actions with the JMS API. Any specific WMQ actions you are looking for?

    Regards, Arjan
  • JoeGLi
    JoeGLi
    15 Posts

    Re: MQ api's allowed in custom sender

    ‏2010-12-05T00:08:44Z  
    • AvV
    • ‏2010-12-03T08:30:42Z
    Joe,

    it is advised to use the JMS API. However, you can do some specific WMQ 6.0 actions with the JMS API. Any specific WMQ actions you are looking for?

    Regards, Arjan
    Arjan,

    I want to perform puts and gets to a MQ queue.
    I am also using WMQ 7.

    What WMQ 6.0 actions am i able to do?

    Thanks,
    Joe
  • AvV
    AvV
    117 Posts

    Re: MQ api's allowed in custom sender

    ‏2010-12-05T10:23:20Z  
    • JoeGLi
    • ‏2010-12-05T00:08:44Z
    Arjan,

    I want to perform puts and gets to a MQ queue.
    I am also using WMQ 7.

    What WMQ 6.0 actions am i able to do?

    Thanks,
    Joe
    Joe,

    you should use the JMS API to put and get messages.

    There are JMS provider (e.g. WMQ) specific property names, see http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj26410_.htm

    Please note the WebSphere Partner Gateway, Version 6.2, detailed system requirements for the support with WMQ V7 as an external JMS provider while integrating with an application or a partner : http://www-01.ibm.com/support/docview.wss?rs=2311&uid=swg27014199

    Regards, Arjan
  • sreelathas
    sreelathas
    55 Posts

    Re: MQ api's allowed in custom sender

    ‏2010-12-10T13:44:45Z  
    Hi Joe,

    If you are writing a custom sender using a custom transport you should be able to use MQ API to PUT messages into WMQ provided WMQ 7 does not have any problems when accessed using MQ API, you can check the fixlist for WMQ 7 at http://www-01.ibm.com/support/docview.wss?uid=swg27014224 , to rule out any known issues with MQPut .
    However it should be understood that the behaviour will not necessarily be the same when using the JMS sender provided by WPG, as WPG uses the JMS API to access the websphere MQ queues. But it should not restrict you from writing your own custom transport and custom sender using MQ API.
  • sreelathas
    sreelathas
    55 Posts

    Re: MQ api's allowed in custom sender

    ‏2010-12-10T14:06:24Z  
    Hi Joe,

    If you are writing a custom sender using a custom transport you should be able to use MQ API to PUT messages into WMQ provided WMQ 7 does not have any problems when accessed using MQ API, you can check the fixlist for WMQ 7 at http://www-01.ibm.com/support/docview.wss?uid=swg27014224 , to rule out any known issues with MQPut .
    However it should be understood that the behaviour will not necessarily be the same when using the JMS sender provided by WPG, as WPG uses the JMS API to access the websphere MQ queues. But it should not restrict you from writing your own custom transport and custom sender using MQ API.
    To add to my previous comment, it is recommended to check with WPG support if WMQ 7 is supported with WPG 6.2 before you attempt to test with MQ APIs, as for the support statement WMQ 7.0 is not claimed as supported for WPG 6.2 .