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

toBinData method in Enterprise Server

  • 1.  toBinData method in Enterprise Server

    Posted Mon October 21, 2002 05:20 PM

    I am trying to set up an integration to take a document I have subscribed to and using the toBinData method store it in a database.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: toBinData method in Enterprise Server

    Posted Tue October 22, 2002 02:59 PM

    You can access the triggering event for an intelligent component via the “transaction” identifier which is global to any step in the component. You would get your BrokerEvent like this in your custom code step.

    BrokerEvent evt = transaction.getTriggerEvent();

    Hope this helps!

    Steve


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: toBinData method in Enterprise Server

    Posted Thu October 24, 2002 07:42 AM

    BrokerEvent evt = transaction.getTriggerEvent();
    byte myData = evt.toBinData();

    Now you can take myData and do whatever you want with it.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB