MDS UsageThe current alpha release of PhoenixMDS only supports Merlin 3.0, but eventually it will support other containers. To configure your component to take advantage of PhoenixMDS:
ConfigurationPhoenixJMS uses the Jakarta Commons Messenger component for handling JMS connections. You can therefore use a Messenger.xml file to configure an MDSManager object: <configuration> <messenger-conf>/Messenger.xml</messenger-conf> <delay>4000</delay> </configuration>
The
Messenger.xmlExample Messenger.xml file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE manager SYSTEM "messenger.dtd"> <manager> <messenger name="topic"> <jndi lookupName="JmsTopicConnectionFactory"> <property> <name>java.naming.factory.initial</name> <value>org.exolab.jms.jndi.rmi.RmiJndiInitialContextFactory</value> </property> <property> <name>java.naming.provider.url</name> <value>rmi://localhost:1099/JndiServer</value> </property> </jndi> </messenger> <messenger name="queue"> <jndi lookupName="JmsQueueConnectionFactory"> <property> <name>java.naming.factory.initial</name> <value>org.exolab.jms.jndi.rmi.RmiJndiInitialContextFactory</value> </property> <property> <name>java.naming.provider.url</name> <value>rmi://localhost:1099/JndiServer</value> </property> </jndi> </messenger> </manager> |