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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Create "loose" or "anonymous" event

    Posted 05/27/09 04:28 PM

    Hello,

    is it possible to create some kind of “anonymous” event?

    I mean in the constructor of the BrokerEvent I have to provide any Event Type. Its not possible to provide null or an empty string.

    I would like to create an event in which I could store ANY fields in unlimited amount. If I provide some non-existing event type (like “xxx”) all provided fields are ignored (this is documented and expected behaviour).

    Is there some type like “Adapter::Anything” ?

    Thanks


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


  • 2.  RE: Create "loose" or "anonymous" event

    Posted 05/27/09 04:52 PM

    In the BrokerEvent constructor, pass null for the client. The event will not be type-checked. I think you still have to provide a type name, however.

    I’m not sure what will happen when you try to publish such an event. It might fail due to (late) type-checking.


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