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.  Error using JMS adapter

    Posted 08/14/08 04:37 PM

    Originally posted by: muralee


    Hi,

    I have used JMS adapter to put XML content into queue. When i try using it, I am getting following exception.

    <560-3320>: | ****Error: java.lang.Exception: Message_handler_failed_to_create_the_message_to_send Message: Message_handler_failed_to_create_the_message_to_send

    Please find attached map which i have used.

    Can any one help me on this issue?

    Thanks
    Murali.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Error using JMS adapter

    Posted 05/20/09 02:46 PM

    Originally posted by: SystemAdmin


    Muralee- Any success sending XML content with JMS Adapter?

    I am also stuck here, can anyone help me.

    | Calling message handler to create message
    | createJmsMessageFromInputStream
    | | Error setting message body
    | createJmsMessageFromInputStream (rc = -2) *** ERROR ***
    | ****Error: java.lang.Exception: Message_handler_failed_to_create_the_message_to_send Message: Message_handler_failed_to_create_the_message_to_send
    m4jms:MAdapterImpl.put (rc = -2) *** ERROR ***

    Any insight on this will be much appreciated.

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


  • 3.  Error creating XML message using JMS adapter....

    Posted 05/20/09 04:50 PM

    Originally posted by: SystemAdmin


    I heard that XML isn't a recognised message type for JMS.

    Is it true?
    Can we send a XML message using JMS adapter? Please advise.

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


  • 4.  Re: Error using JMS adapter

    Posted 05/21/09 06:22 AM

    Originally posted by: IBMAniSur


    Hi,

    To put XML documents in JMS queue you have to specify the message type.In case of XML specify as text message (-TT)
    along with ur JMs command include -TT.i was able to put the message into JMS queue.

    JMS will accepts 5 message type TextMessage, ByteMessage, StreamMessage, ObjectMessage and MapMessage.
    Here we need to specify TestMessage. TextMessage contains instance of java.lang.String as it's payload.
    It is used for exchanging complex character data such as an XML document.

    Example
    --ICTXFURL file://C:/STORE -ICTXF com.sun.jndi.fscontext.RefFSContextFactory -CFN myQueueCF1 -QN myQ1 -TT
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 5.  Re: Error using JMS adapter

    Posted 05/21/09 05:16 PM

    Originally posted by: SystemAdmin


    Yes, I have figured out from the JMS Adapter document.
    Anyway, thanks for the reply.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 6.  Re: Error using JMS adapter

    Posted 05/26/09 08:51 AM

    Originally posted by: IBMAniSur


    Hi ,
    Can anyone tell me how to read XML message using the JMS adapter.I am getting the below error.<Message> is defaultly added to the XML message.
    (Level 0: Offset 0, len 9, comp 1 of 0, #1, DI 00000001:)
    Data at offset 0 ('<Message>') is INVALID data of TYPE
    X'0004' (ElemDecl WTXInput Element XSD).

    (Level 0: Offset 0, len 9, comp 1 of 0, #1, DI 00000002:)
    External Parser returned Error:
    TYPE X'0004' (Error (-1), "XMLParser: Input XML data is invalid."
    SAXParseException, Error line: 1 column: 10 Unknown element 'Message').

    INPUT 1 exists, but its type is in error.

    Thanks in Advance.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange