Hi, I'm not sure if Hermes provides support to load a broker configuration. Usually this is done outside of hermes either using the standalone broker or a broker embedded on your webapp/application. You just need to point hermes to the brokerURL of the broker you're trying to use.
Regards, Jonas aaaaa wrote: > > 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#a6401070 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
