voyent
configure ahs with embedded broker error  XML
Forum Index -> Async HTTP Server
Author Message
michelle2

Joined: 14/Nov/2007 00:00:00
Messages: 449
Offline


I'm trying to configure ahs to use an embedded broker,

I have the jms and ahs configurations set up as followed, I get a connection refused, I know this setup must be wrong I'm just not sure how to configure it.

<bean id="jmsFactory" class="org.apache.activemq.pool.PooledConnectionFactory" destroy-method="stop">
<property name="connectionFactory" ref="pooledJmsFactory"/>
<property name="maxConnections" value="500"/>
</bean>


<bean id="pooledJmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
<value>tcp://localhost:61616</value>
</property>
</bean>




# Specific
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
#java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=tcp://localhost:61616?wireFormat.maxInactivityDuration=0

com.icesoft.net.messaging.jms.topicConnectionFactoryName=ConnectionFactory
com.icesoft.net.messaging.jms.topicNamePrefix=dynamicTopics/

# General
com.icesoft.net.messaging.messageMaxDelay=100
com.icesoft.net.messaging.messageMaxLength=4096

[Email]
 
Forum Index -> Async HTTP Server
Go to:   
Powered by JForum 2.1.7ice © JForum Team