|
|
Line 1: |
Line 1: |
− | == ActiveMQ Broker==
| |
| | | |
− | SMILA contains integrated [[http://activemq.apache.org | 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
| |
− | <source lang="java">
| |
− | 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
| |
− | </source>
| |
− |
| |
− | More information about configuration can be found on the [[http://activemq.apache.org/jndi-support.html | ActiveMQ jndi-support page ]] and [[http://activemq.apache.org/vm-transport-reference.html | ActiveMQ vm-transport-reference]] pages.
| |
− | [[Category:SMILA]]
| |