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
  • 1.  Problems specifying MQMessage REPORT field properties with M

    Posted Tue June 22, 2004 02:09 PM

    When specifying the REPORT field properties using v6 of the MQ Adapter, the outgoing message sets the value to “0” and I receive an error back from the target application stating that there is a REPORT field missing.
    The webMethods documentation for the adapter states that the value for this field is a string with a max length of 4 digits. The parameters that I’m attempting to use are: “MQC.MQRO_EXPIRATION,MQC.MQRO_NEW_MSG_ID,MQC.MQRO_COPY_MSG_ID_TO_CORREL_ID,MQC.MQRO_DEAD_LETTER_Q,MQC.MQRO_PAN,MQC.MQRO_NAN”
    as specified by the target application specs. These seem to be valid parameters, so why is the report field limited to 4 characters?
    I MUST be missing something…does anyone have any ideas?

    Many thanks in advance.
    -Chris


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 2.  RE: Problems specifying MQMessage REPORT field properties with M

    Posted Wed June 23, 2004 08:31 AM

    The REPORT field is part of the MQ Message Descriptor (msgHeader) and is a LONG integer in the definition of the MQMD. It is represented as a string in the MQ Adapter. You need to add together the values represented by the field names you are trying to use (all the MQC.MQRO* fields) and put that into the REPORT field. The hex values of the LONGs you should be adding are:

    MQRO_EXCEPTION 0x01000000
    MQRO_PAN 0x00000001
    MQRO_NAN 0x00000002
    MQRO_NEW_MSG_ID 0x00000000
    MQRO_COPY_MSG_ID_TO_CORREL_ID 0x00000000
    MQRO_DEAD_LETTER_Q 0x00000000

    Hope this helps.

    Dave Dyer


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 3.  RE: Problems specifying MQMessage REPORT field properties with M

    Posted Wed June 23, 2004 10:45 AM

    Thanks Dave, I’ll check this out. Where did you find this information? I failed to find it in the webMethods documentation.

    Thanks again Dave.
    -Chris


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Problems specifying MQMessage REPORT field properties with M

    Posted Thu June 24, 2004 06:51 AM

    We have been working with MQSeries long before we had webMethods. The information I passed along about the REPORT field, MQMD, etc. is in the WebSphere MQ doc available from IBM, and I know that webMethods normally represents all integer/long parameters as strings. I would strongly recommend you get the WebSphere doc - it is invaluable if you are using MQ extensively.

    Dave


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods