Announcement Announcement Module
Collapse
No announcement yet.
Spring JMS with JBoss server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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>

    Comment

    Working...
    X