IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
 View Only
Expand all | Collapse all

GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

  • 1.  GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Wed November 05, 2014 12:22 PM

    Originally posted by: paul.brett


    Each JMS provider should adhere to the JMS standard, and yet there's always a tinge of proprietary behaviour involved that requires the 'vanilla' examples get a little colouring before they will work.

    I spent a while setting up OpenMQ using the slightly older (Java 6 compatible) version 4.5.2.  The following Quick Start Guide was very handy:  http://docs.oracle.com/cd/E19798-01/821-1794/aeoay/index.html

    The examples themselves are pretty straight forward, using adapter command line:

    -ICTXFURL file:///C:/ObjectStore -ICTXF com.sun.jndi.fscontext.RefFSContextFactory -CFN MyQueueConnectionFactory -QN MyQueue -T

    ...and then it's only the JAR file loading that needs to be considered.  I did this with edits to the dtx.ini file, adding to JAR reference to the [External Jar Files] section:

    [External Jar Files]
    jar1=C:\PROGRA~2\OpenMQ\mq\lib\imq.jar
    jar2=C:\PROGRA~2\OpenMQ\mq\lib\jms.jar

    Any questions - ask away!

    Thank-you.

    Paul

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Mon August 24, 2015 01:32 PM

    Originally posted by: @SRRT


    Hi Paul,

    I am new to JMS ,Can you tell how can i take Input from MQ to Wtx,how should i create JMS queue ? please explain about that.....?


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 3.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Tue August 25, 2015 04:12 AM

    Originally posted by: paul.brett


    Configuration of the JMS queues inside Oracle Glassfish (or indeed any 3rd party JMS provider) is beyond the scope of this forum.

    Thank-you.

    Paul.

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Tue August 25, 2015 05:05 AM

    Originally posted by: @SRRT


    Hi paul, 

    How to configure JMS queues in ActiveMQ with WTX...?


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 5.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Tue August 25, 2015 06:59 AM

    Originally posted by: paul.brett


    There is no special configuration requirements for WTX to use JMS queues in Active MQ.  For generic configuration help, please log a post on the Apache ActiveMQ support forums:   http://activemq.apache.org/user-forum.html

    Thank-you.

    Paul.

    Follow me on Twitter


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 6.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Tue August 25, 2015 10:32 AM
      |   view attached

    Originally posted by: @SRRT


    Hi Paul,

    I'm working on JMS adaptor.I'm using your OpenMQ.zip file which you have Attached above.

    Here I have given JMS  command as "-T -ICTXFURL vm://localhost:8161/admin -ICTXF org.apache.activemq.jndi.ActiveMQInitialContextFactory -CFN connectionFactory -QN myQueue" in order to connect to ActiveMQ. When i run PutMessage map .it is showing as "Target Not Available".and when i run GetMessage map ,It is showing "Source Not Available". In order to get input from ActiveMQ .I have run the activeMQ bat file in apache-activemq-5.6.0\bin\win64. So how i should give input for this ?Can you please explain.....?

    Thanks


    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange

    Attachment(s)

    zip
    OpenMQ.zip   15 KB 1 version


  • 7.  Re: GET and PUT message examples using WTX with Oracle Glassfish JMS (OpenMQ)

    Posted Tue August 25, 2015 10:45 AM

    Originally posted by: paul.brett


    Multiple problems here:

    1.  The command line you have used is for Active MQ and you're trying to connect to OpenMQ.  An example OpenMQ connection string might be:

    -ICTXFURL tcp://192.168.123.6:7676 -ICTXF com.sun.enterprise.naming.SerialInitContextFactory -CFN MyQueueConnectionFactory -QN MyQueue -T

    2.  It sounds as though you have started the product "I have run the activeMQ bat file in apache-activemq-5.6.0\bin\win64", but not configured the queue or anthing else.  Do you know how to open the administration console for OpenMQ?

    Thank-you.

    Paul.

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange