Use the DMS configuration file (discussed in the Configuring Patch Bay section) to create Local JMS destinations. These destinations are specified by name, separated into topics and queues:

<dynamo-message-system>
  <patchbay>
    ...
  </patchbay>

  <local-jms>

    <topic-name>/MyApp/RegistrationEvents</topic-name>
    <topic-name>/MyApp/FinancialEvents</topic-name>
    ...

    <queue-name>/MyApp/Orders</queue-name>
    ...
  </local-jms>
</dynamo-message-system>

When a Nucleus-based application starts up, it create these destinations with the JNDI names localdms:/local/MyApp/RegistrationEvents, localdms:/local/MyApp/FinancialEvents, and localdms:/local/MyApp/Orders.

Remember that Local JMS keeps no state, so adding these topics and queues simply creates named locations for messages to be sent locally. Nothing is actually added to a back-end storage system.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices