Hi All,
can anybody tell me how can I set settings in hermes for activemq?

what should I use as settings for plugin :
serviceURL
brokername

and for connection:
brokerurl
brokerxmlconfig
useembeddedbroker



in my web app I use these settings:

settings for factory in spring:
<bean id="jmsFactory" class="org.activemq.ActiveMQConnectionFactory" >
                 <property name="brokerURL" value="vm://localhost"/>
                <property 
name="useEmbeddedBroker"><value>true</value></property>
                <!-- specify that the ActiveMQ XML config file should be used 
to configure
the Broker -->
                <property
name="brokerXmlConfig"><value>classpath:activemq.xml</value></property>
        </bean>

activemq settings:
  <broker>
    <connector>
      <tcpServerTransport uri="tcp://localhost:61616" backlog="1000"
useAsyncSend="true" maxOutstandingMessages="50"/>
    </connector>

    <!-- to enable Stomp support uncomment this
    <connector>
      <serverTransport uri="stomp://localhost:61626"/>
    </connector>
    -->

    <persistence>
      <cachePersistence>
    <!--       <journalPersistence directory="../var/journal">  -->
          <jdbcPersistence dataSourceRef="postgresql-ds"/>

     <!--     </journalPersistence>  -->
      </cachePersistence>
    </persistence>
  </broker>


-- 
View this message in context: 
http://www.nabble.com/settings-in-hermes-tf2274627.html#a6316482
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to