JMS Deployment Descriptors
You have to include the following deployment descriptors in the meta-inf directory of the CAF runtime application ear. This will automatically create the topics in the J2EE engine when deploying the CAF runtime application.

<jms-destinations>
<application-name>caf~runtime~ear</application-name>
[other destinations]
<destination>
<connection-factory>CAFFrameworkTopicConnectionFactory
</connection-factory>
<destination-name>CAFFrameworkTopic</destination-name>
</destination>
</jms-destinations>

<jms-factories>
<application-name>caf~runtime~ear</application-name>
[other connection factories]
<connection-factory>
<factory-name>CAFFrameworkTopicConnectionFactory</factory-name>
<context-factory-type>
<link-factory-name>jmsfactory/default/TopicConnectionFactory
</link-factory-name>
</context-factory-type>
</connection-factory>
</jms-factories>
In order to prepare for event recording, see the information and coding examples for the following classes: