-
Nov 2nd, 2007, 02:44 PM
#1
Spring JMS with JBoss server
Does anyone have any examples on using Spring JMS with JBOSS Server?? I just need a Hello world example
I got confused regarding setting up the connectionFactory and DestinationQueue.
-
Jan 9th, 2008, 05:17 PM
#2
Hey there,
You probably already have this running but just in case. Here is how I configured the connection factory and the default queue/a queue from jboss. At least those were the two pieces I had problems with. Hope that helps.
<bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryB ean">
<property name="jndiName"><value>java:/ConnectionFactory</value></property>
<property name="resourceRef"><value>true</value></property>
</bean>
<bean id="destination" class="org.springframework.jndi.JndiObjectFactoryB ean">
<property name="jndiName"><value>queue/A</value></property>
<property name="resourceRef"><value>false</value></property>
</bean>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules