IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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

Unable to send message to JMS provider - Invalid object type for Message field

  • 1.  Unable to send message to JMS provider - Invalid object type for Message field

    Posted Tue December 02, 2014 12:50 PM

    Hello

    We are trying to send bytes (Java byte) in a JMS Message, however, we have the following error message :

    [ISP.0090.0003C] [ISS.0134.9009] Unable to send message to JMS provider “ConnectionJMSAdmin”: com.wm.app.b2b.server.jms.JMSSubsystemException: javax.jms.MessageFormatException: [BRM.10.1005] JMS: Invalid object type for Message field: “donneesObject”.

    The message field donneesObject is set to have the Java Wrapper Type : byte

    And we set the value of donneesObject in Java with byte

    Our IS is in version 8.2.2.0 with the following fix : IS_8.2_SP2_Core_Fix10

    Thanks in advance for your help

    Regards.


    #Integration-Server-and-ESB
    #webMethods
    #Broker-JMS
    #Universal-Messaging-Broker


  • 2.  RE: Unable to send message to JMS provider - Invalid object type for Message field

    Posted Wed December 03, 2014 01:57 AM

    You are using BIS pub.jms:send to send a message to JMS queue;

    Did you map message field to any of the below fields and test;

    JMSMessage/body/bytes

    JMSMessage/body/object

    JMSMessage/body/message


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods
    #Broker-JMS


  • 3.  RE: Unable to send message to JMS provider - Invalid object type for Message field

    Posted Wed December 03, 2014 05:15 AM

    Hi,

    Thank you for you reply.

    Yes we are using the pub.jms:send, when mapping our bytes in JMSMessage/body/bytes, it works, we do not have the error message.

    However, I am working on a project and they do not use the JMSMessage/body but the JMSMessage/properties.

    The previous team created a document reference in which they put a couple of fields including an object/bytes one but when we are mapping our bytes in this field it does not work.

    Thanks in advance

    Regards


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #Broker-JMS