Monday November 28, 2005 Add other JMS subscriber in topic On of the big advance of the topic is that other subscriber can be added very easy. For instance, we have existing order application that have one ProcessOrder subscriber and we would like to add other one. In this post I will show how you can add new subscriber in NetBeans 5.0, which changes should be done:
<ejb>
<ejb-name>AccountBean</ejb-name>
<jndi-name>jms/ProcessOrderBean</jndi-name>
<mdb-connection-factory>
<jndi-name>jms/ProcessOrderDestinationFactory</jndi-name>
</mdb-connection-factory>
</ejb>
<message-destination>
<message-destination-name>AccountDestination</message-destination-name>
<jndi-name>jms/ProcessOrderBean</jndi-name>
</message-destination>