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.
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.
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
BrokerEvent evt = transaction.getTriggerEvent(); byte myData = evt.toBinData();
Now you can take myData and do whatever you want with it.