0 Replies Latest reply on Mar 5, 2009 2:13 PM by Edward Abraham

    How to configure OpenJMS QueueConnection Factory in seam app

    Edward Abraham Newbie
      Hi

      I am using openJMS server as thirdparty server forJMS with jboss.i used the following xml bonfig file to configure to use openJMS service.


      thirdparty-jms-service.xml

      \<?xml version="1.0" encoding="UTF-8"?>
      <server>
              <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
                      name=":service=JMSProviderLoader,name=ThirdPartyJmsProvider">
              <attribute name="ProviderName">ThirdPartyJmsProvider</attribute>
              <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
              <attribute name="QueueFactoryRef">JmsQueueConnectionFactory</attribute>
              <attribute name="TopicFactoryRef">JmsTopicConnectionFactory</attribute>
              <attribute name="Properties">    
                              java.naming.factory.initial=org.exolab.jms.jndi.InitialContextFactory
                              java.naming.provider.url=tcp://localhost:3035
              </attribute>
              </mbean>
      </server>`\



      I am able to receive messages from openJMS to my seam application.

      By default seam uses UIL2ConnectionFactory of jbossMQ .
      Can anyone please tell me how to configure seam.properties and component.xml to connect to the openJMS queueconnection factory and send messages to it

      Thanks in advance


      Eddy