activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlim <j...@exist.com>
Subject Re: settings in hermes
Date Fri, 15 Sep 2006 14:52:11 GMT

Hi,

Here's some documentation on using ActiveMQ inside hermes:
http://www.activemq.org/site/hermes-jms.html

Regards,
Jonas





aaaaa wrote:
> 
> 	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#a6326853
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message