1 Reply Latest reply on Mar 14, 2013 10:56 AM by Tom Cunningham

    Problem when sending a message to a JMS Queue

    menjivar88 Newbie

      Hello,

       

      I'd like that you could help me in my esb project, basically i read a file with a File System Provider, then the message i rout it to a Tibco Queue with JMSRouter and i got no error. But when i get the message from the queue i see this:

       

      • With  unwarp as false:

       

      Received message: ObjectMessage={ Header={ JMSMessageID={ID:E4EMS-SERVER.19D8513A22912D:39} JMSDestination={Queue[ResponseQueue]} JMSReplyTo

      ={null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false} JMSCorrelationID={136882d5-c165-4fed-af00-bbd19f35dd2a} JMSType={null} JMSTimest

      amp={Fri Mar 08 14:22:57 CST 2013} JMSExpiration={0} JMSPriority={4} } Properties={ } Object={<Envelope><Header xmlns:wsa="http://schemas.xm

      lsoap.org/ws/2004/08/addressing"><wsa:To>invm://4c656374757261732424242424242424242424244c6563747572614172636869766f/false?false#10000</wsa:

      To><jbossesb:type xmlns:jbossesb="http://schemas.jboss.com/ws/2007/01/jbossesb">urn:jboss/esb/epr/type/invm</jbossesb:type><jbossesb:passByV

      alue xmlns:jbossesb="http://schemas.jboss.com/ws/2007/01/jbossesb">false</jbossesb:passByValue><wsa:MessageID>136882d5-c165-4fed-af00-bbd19f

      35dd2a</wsa:MessageID></Header><Context /><Body><Content><Key>b3JnLmpib3NzLnNvYS5lc2IubWVzc2FnZS5kZWZhdWx0RW50cnk=</Key><Value><marshalunmar

      shal><plugin-type>urn:xml/marshalunmarshal/plugin/serialization</plugin-type>rO0ABXVyAAJbQqzzF/gGCFTgAgAAeHAAAAAtYXZsaWQJdmVoaWNsZXR5cGUNCjM

      wMDUJUGljayBVcA0KMzAwNglQaWNrIFVw</marshalunmarshal></Value></Content><Content><Key>b3JnLmpib3NzLnNvYS5lc2IubWVzc2FnZS5kZWZhdWx0RW50cnktc2V0

      LXN0YWNr</Key><Value><marshalunmarshal><plugin-type>urn:xml/marshalunmarshal/plugin/serialization</plugin-type>rO0ABXNyABNqYXZh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b3JnLmpib3NzLnNvYS5lc2IubGlzdGVuZXJzLmxpZmVjeWNsZS5BYnN0cmFjdFNjaGVkdWxlZ

      E1hbmFnZWRMaWZlY3ljbGUkMXQAJkFic3RyYWN0U2NoZWR1bGVkTWFuYWdlZExpZmVjeWNsZS5qYXZhcQB+ABdzcQB+AAkAAAEhdAA3b3JnLmpib3NzLnNvYS5lc2Iuc2NoZWR1bGUuU

      2NoZWR1bGVySm9iJEVTQlNjaGVkdWxlZEpvYnQAEVNjaGVkdWxlckpvYi5qYXZhdAAHZXhlY3V0ZXNxAH4ACQAAAMt0ABtvcmcucXVhcnR6LmNvcmUuSm9iUnVuU2hlbGx0ABBKb2JSd

      W5TaGVsbC5qYXZhdAADcnVuc3EAfgAJAAACCHQALm9yZy5xdWFydHouc2ltcGwuU2ltcGxlVGhyZWFkUG9vbCRXb3JrZXJUaHJlYWR0ABVTaW1wbGVUaHJlYWRQb29sLmphdmFxAH4AI

      ng=</marshalunmarshal></Value></Content></Body><Attachment /><Properties><Property><Key>b3JnLmpib3NzLnNvYS5lc2IuZ2F0ZXdheS5vcmlnaW5hbC51cmw=

      </Key><Value>rO0ABXQAGWZpbGU6L0M6L2Ryb3Bib3gvZHJvcGJveC8=</Value></Property><Property><Key>aW4tZmlsZS1wYXRo</Key><Value>rO0ABXQAK0M6XGRyb3Bi

      b3hcZHJvcGJveFx2ZWhpY3Vsb3MudHh0LnRyYWJhamFuZG8=</Value></Property><Property><Key>amJvc3MuZXNiOmNhdGVnb3J5PU1lc3NhZ2VDb3VudGVyLGRlcGxveW1lbn

      Q9am1zUm91dGVyLmVzYixzZXJ2aWNlLWNhdGVnb3J5PUxlY3R1cmFzLHNlcnZpY2UtbmFtZT1MZWN0dXJhQXJjaGl2b1RpbWU=</Key><Value>rO0ABXNyAA5qYXZhLmxhbmcuTG9uZ

      zuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAALy/A==</Value></Property><Property><Key>aW4tZmlsZS1vYmo=</Key><

      Value>rO0ABXNyAAxqYXZhLmlvLkZpbGUELaRFDg3k/wMAAUwABHBhdGh0ABJMamF2YS9sYW5nL1N0cmluZzt4cHQAK0M6XGRyb3Bib3hcZHJvcGJveFx2ZWhpY3Vsb3MudHh0LnRyYW

      JhamFuZG93AgBceA==</Value></Property><Property><Key>b3JnLmpib3NzLnNvYS5lc2IuZ2F0ZXdheS5vcmlnaW5hbC5maWxlLm5hbWU=</Key><Value>rO0ABXQADXZlaGl

      jdWxvcy50eHQ=</Value></Property><Property><Key>aW4tZmlsZS1sYXN0bW9k</Key><Value>rO0ABXNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQ

      amF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAE9OwlphA==</Value></Property><Property><Key>aW4tZmlsZS1sZW5ndGg=</Key><Value>rO0ABXNyAA5qYXZhLmxhb

      mcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAALQ==</Value></Property></Properties></Envelope>} }

       

       

      • With unwarp as true:

       

      Received message: BytesMessage={ Header={ JMSMessageID={ID:E4EMS-SERVER.19D8513A229127:34} JMSDestination={Queue[ResponseQueue]} JMSReplyTo=

      {null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false} JMSCorrelationID={eb489fc2-c24e-4f5b-b370-4ac233f3a748} JMSType={null} JMSTimesta

      mp={Fri Mar 08 14:21:55 CST 2013} JMSExpiration={0} JMSPriority={4} } Properties={ } Bytes={45 bytes} }

       

      What should i do to be able to get the real message i sent ?? or should i format the message before send it ??

       

      Regards

      Carlos