You create an EP adapter file in a CICS® bundle project to contain your EP adapter
specification. When an EP adapter is installed as its own resource,
you can easily switch events to use a different EP adapter configuration,
or different EP adapter altogether, and also send the same event to
multiple destinations.
About this task
An EP adapter specification is an XML definition that
defines one EP adapter to CICS.
An EP adapter consists of adapter and dispatcher information. Use
an EP adapter to configure event emission.
There are some situations
where you might want the EP adapter to be installed as its own resource.
For example:
- Some events have been created in a test environment and sent using
a WebSphere® MQ queue to WebSphere Business Events.
You now want to deploy these events into production, but in the production
environment they must be emitted using a different WebSphere MQ queue. You can use a separate
EP adapter configuration to change the queue name without any changes
to the event specifications and associated capture specifications.
- Some events have been emitted using the HTTP EP adapter, but now
the volume of events and the requirements for robustness are such
that it would be better to use WebSphere MQ.
You can use a separate EP adapter configuration to change the EP adapter
without changing the event specifications.
Note: When you use a separate EP adapter configuration you
can easily share it between event bindings, resulting in only one
resource to manage. When you specify an EP adapter configuration embedded
in an event binding, then CICS creates
an EPADAPTER resource for you with the same name as the event binding.
You
configure this EP adapter in the Adapter tab
of the EP adapter panel. As a system programmer,
you set some configuration values for the event data that you want
to emit. You repeat this step for each item of data you need during
event processing.