Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SMILA/Documentation/JMSBroker/ActiveMQ"

(New page: == ActiveMQ Broker== SMILA contains integrated ActiveMQ core JMS Message Broker. It's classes contained in the "org.apache.activemq.core" bundle. Instance...)
 
Line 9: Line 9:
  
 
Sample properties
 
Sample properties
<source>
+
<source lang="java">
 
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
 
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
 
java.naming.provider.url=vm:(broker:(tcp://localhost:61616?jms.useAsyncSend=true)?persistent=true)?marshal=false
 
java.naming.provider.url=vm:(broker:(tcp://localhost:61616?jms.useAsyncSend=true)?persistent=true)?marshal=false

Revision as of 09:09, 4 December 2008

ActiveMQ Broker

SMILA contains integrated [| ActiveMQ core] JMS Message Broker. It's classes contained in the "org.apache.activemq.core" bundle. Instance of broker started by the bundle "org.eclipse.smila.connectivity.queue.broker.main".

Configuration

Embedded broker started by starting JNDI Context by properties loaded from the file "configuration/org.eclipse.smila.connectivity.queue.broker.main/jms.properties"

Sample properties

java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url=vm:(broker:(tcp://localhost:61616?jms.useAsyncSend=true)?persistent=true)?marshal=false

More information about configuration can be found on the [| ActiveMQ jndi-support page ] and [| ActiveMQ vm-transport-reference] pages.

Back to the top