activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaaaa <aa...@mytrashmail.com>
Subject Re: settings in hermes
Date Tue, 19 Sep 2006 23:49:05 GMT

how can I tell hermes that I use jdbc jdbcPersistence? I put my activemq.xml
in hermes/lib and try to set brokerXmlConfig to classpath:activemq.xml and
just activemq.xml. it didn't help...

thanks,




colincrist wrote:
> 
> 
> 
> There is also this:
> 
> http://hermesjms.com/provider_activemq.html
> 
> Look at the docs on the website for setting up the classpath etc.
> 
> Regards,
> 
> Colin
> http://hermesjms.com
> 
> 
> jlim wrote:
>> 
>> 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#a6399165
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message