IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Inbound callback event notification > Callback event sender
Callback event sender constructors
CallbackEventSender provides four different constructors to facilitate different types of client invocation.
The following information describes the usage of the four constructors:
- CallbackEventSender(ArrayList, EventPersistence, XAResource, ActivationSpecWithXid, LogUtils)
The complete constructor which takes an array of endpoint factories and supports XA transaction with event persistence updates. If the input ActivationSpecWithXid is valid and not null, event would be delivered by calling target method on the inbound listener with ActivationSpecWithXid as additional argument.
- CallbackEventSender(ArrayList, ActivationSpecWithXid, LogUtils)
Constructor used for event delivery without XA transaction and event persistence support.
- CallbackEventSender(MessageEndpointFactory, EventPersistence, XAResource, ActivationSpecWithXid, LogUtils)
This constructor does take the same arguments as (1) except that it takes one MessageEndpointFactory instead of an array.
- CallbackEventSender(MessageEndpointFactory, ActivationSpecWithXid, LogUtils)
A slight variation for constructor (2) with just one MessageEndpointFactory argument instead of an array.