Results 1 to 2 of 2

Thread: Spring JMS with JBoss server

  1. #1

    Exclamation 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. #2
    Join Date
    Dec 2007
    Posts
    8

    Default

    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
  •