webMethods

webMethods

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.

 View Only
Expand all | Collapse all

websphere MQ Adapter

webMethods Community Member

webMethods Community MemberTue December 17, 2013 10:35 AM

webMethods Community Member

webMethods Community MemberMon December 30, 2013 12:10 PM

  • 1.  websphere MQ Adapter

    Posted Mon December 16, 2013 06:56 AM

    Hi Guys,

    Can anybody know what should be input value of the service wm.art.dev.connection:fetchConnectionMetadata for input field “connectionFactoryType”. I have given another input field “adapterTypeName” value as wmMQAdapter


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: websphere MQ Adapter

    Posted Mon December 16, 2013 10:11 AM

    Please check this documentation of the particular input class you are looking for Page 251:

    It takes the

    connectionFactoryType
    String.
    Required. The fully qualified path of the
    WmManagedConnectionFactory implementation class

    http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/adapters_estandards/Adapters/ADK/6-5_ADK_Install_and_Users_Guide.pdf


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: websphere MQ Adapter

    Posted Mon December 16, 2013 10:35 AM

    Thanks for your response RMG.

    Yes, even i have referred the same documentation. My query is what should be the WmManagedConnectionFactory
    implementation class name for webshphere MQ Adapter.

    Regards,
    Satish


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: websphere MQ Adapter

    Posted Mon December 16, 2013 12:46 PM

    Do you have any JNDI configuration done with Websphere apps?


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: websphere MQ Adapter

    Posted Tue December 17, 2013 07:02 AM

    Hi RMG,

    I am trying to update the websphere MQ connection properties like Qmanager, Qname etc with the built-in service

    wm.art.dev.connection:updateConnectionNode. But to provide input for this service i am using wm.art.dev.connection:fetchConnectionMetadata as suggested in documentation. Do I have to create any JNDI alias?


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: websphere MQ Adapter

    Posted Tue December 17, 2013 10:35 AM

    No need for that sake…


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: websphere MQ Adapter

    Posted Wed December 18, 2013 05:40 AM

    Can i Know the fully qualified connectionFactoryType class name for wM MQ Adapter.


    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: websphere MQ Adapter

    Posted Wed December 18, 2013 11:09 AM

    I am not really sure the fully qualified naming convention but let’s wait to hear from other gurus here in the forum:


    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: websphere MQ Adapter

    Posted Mon December 30, 2013 09:28 AM

    Can anybody reply on this please ? or IS anybody know the exact internal names of websphere MQ connection parameters. If we have internal names we can hardcode and use the service wm.art.dev.connection:updateConnectionNode


    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: websphere MQ Adapter

    Posted Mon December 30, 2013 10:07 AM

    I never used websphereAdapter, but I found this class under folder \packages\WmMQAdapter\code\classes\com\wm\adapter\wmmqadapter\connection.

    package com.wm.adapter.wmmqadapter.connection;

    public class wmMQConnectionFactory extends WmManagedConnectionFactory

    … …

    }

    May be you can try it.


    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: websphere MQ Adapter

    Posted Mon December 30, 2013 10:09 AM

    And there is another class wmMQTransactionalConnectionFactory in the same folder.

    package com.wm.adapter.wmmqadapter.connection;

    public class wmMQTransactionalConnectionFactory extends wmMQConnectionFactory{

    … …

    }


    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: websphere MQ Adapter

    Posted Mon December 30, 2013 10:33 AM

    Thank you very much Wang for your reply. Finally it got worked out with the class “com.wm.adapter.wmmqadapter.connection.wmMQConnectionFactory” :slight_smile:


    #webMethods
    #Integration-Server-and-ESB


  • 13.  RE: websphere MQ Adapter

    Posted Mon December 30, 2013 12:10 PM

    Glad to hear it worked out:


    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: websphere MQ Adapter

    Posted Thu October 13, 2016 10:11 AM

    How to get connection attributes of an adapter connection? How to Update Adapter Connection Properties?

    Use Built-in service Name: wm.art.dev.connection:fetchConnectionMetadata
    Input Field:
    adapterTypeName: You can get this name by running pub.art:listRegisteredAdapters built-in service
    Sample Values:
    JDBCAdapter
    wmMQAdapter
    WmSAP

    Input Field:
    connectionFactoryType: You need to build this value by navigating the folders under an adapter package.
    Sample Values:
    com.wm.adapter.wmjdbc.connection.JDBCConnectionFactory
    com.wm.adapter.wmmqadapter.connection.wmMQConnectionFactory
    com.wm.adapter.sap.spi.SAPConnectionFactory

    Now you can use these connection attributes as input fields for wm.art.dev.connection:updateConnectionNode under connectionSettings document. Then you can use this service to update connection properties of a JDBC, SAP connection etc


    #Integration-Server-and-ESB
    #webMethods