The following is an example of jndi.properties content:
NOTE: Control-M Messaging API supports queues.
# Set the InitialContextFactory class to use
java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialConextFactory
# Define the required ConnectionFactory instances
# connectionfactory.<JNDI-lookup-name> = <URI>
connectionfactory.qpidConnectionfactory = amqp://guest:guest@clientid/?brokerlist='tcp://localhost:5672'
# Configure the necessary Queue objects
# queue.<JNDI-lookup-name> = <queue-name>
queue.TEST_QUEUE1 = queue1
queue.TEST_QUEUE2 = queue2
Parent Topic |