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

Extra characters message byte array

  • 1.  Extra characters message byte array

    Posted Wed December 14, 2005 12:15 AM

    I am using the RPCBMQBridge (Natural 6.1.1 on HP-UX as the client). I am sending the following data to the bridge “”. When receiving the message with Java ACI, the string has extra data in front of it:

    System.out.println(new String(brokerMessage.getMessage());

    results in:

    15,

    I tried various String constructors to convert the byte array, with no luck. Is there a chance that the bridge is doing this?


    #Mainframe-Integration
    #webMethods
    #EntireX


  • 2.  RE: Extra characters message byte array

    Posted Wed December 14, 2005 11:52 AM

    Hi Michael,

    you are right: this is added by the bridge.

    The intention of the BMQ Bridge is that both the sender and the receiver of the UOW is using the Bridge via RPC calls.

    So if you change your Java program so that it is also calling the Bridge via the Java Wrapper the extra characters will disappear.


    #EntireX
    #webMethods
    #Mainframe-Integration