Show TOC Start of Content Area

Background documentation JMS Deployment Descriptors  Locate the document in its SAP Library structure

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.xml:

Syntax

<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.xml:

Syntax

<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:

     ValueObjectChangedData

     EntityChangedEvent

     EventHelper

End of Content Area