IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
  • 1.  JMS adapter and ActiveMQ

    Posted 06/13/07 10:11 AM

    Originally posted by: SystemAdmin


    I'm trying to use the JMS adapter with the Apache ActiveMQ.

    I'm on WTX 8.0

    I'm running the JMS adapter example. In the puttmsg map I changed the JMS command like this:

    -ictxfurl tcp://localhost:61616 -ictxf org.apache.activemq.jndi.ActiveMQInitialContextFactory -qn DSTXin -cfn QueueConnectionFactory -t

    I'm getting a "Target not available" error.

    In the JNI log file I can see the following:

    <2308-2916>: *ERR: java.lang.Exception: ****Error: java.lang.UnsupportedOperationException: A destination must be specified. Message: A destination must be specified.

    In the JMS trace file (*.mal) file I can see this:

    <2308-2916>: | m4jms:M4jmsutility.getQueue
    <2308-2916>: | | ****Error during queue lookup:javax.naming.NameNotFoundException: DSTXin

    What's missing?

    Thanks,
    Edward
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: JMS adapter and ActiveMQ

    Posted 06/14/07 05:29 PM

    Originally posted by: SystemAdmin


    Well I will have to answer my own question then...

    Once I put jndi.properties with my queue params into the DSTX_ROOT directory AND added that directory to CLASSPATH the error was gone.

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


  • 3.  Re: JMS adapter and ActiveMQ

    Posted 05/27/11 05:23 PM

    Originally posted by: vickey


    Hi,

    This is the first time I am working on Active MQ.

    Can you please provide the jndi.properties files and the map you used to implement.

    I tried to do a PoC today but failed to put message to queue in Active MQ.

    Thanks for the help.

    Regards,
    Vickey
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: JMS adapter and ActiveMQ

    Posted 05/31/11 12:08 PM

    Originally posted by: harishtd


    Hello,

    If you are using WTX with WMB, you should be using the WMB built in nodes for this communication to ActiveMQ. If it is from the WESB or WPS, then you can build the logic inside either of these products.

    The sample JNDI File can be obtained from here
    http://activemq.apache.org/jndi-support.html
    Make sure the following jar files from the activeMQ Installable are available to the WTX Classpath
    
    activemq-all-5.5.0.jar geronimo-jms_1.1_spec-1.1.1.jar log4j-1.2.14.jar slf4j-log4j12-1.5.11.jar spring-jms-3.0.3.RELEASE.jar
    

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