producing message with JCA

View: New views
1 Messages — Rating Filter:   Alert me  

producing message with JCA

by keneida :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have used example to listen messages using JCA from  http://jencks.codehaus.org/Message+Driven+POJOs
The inbound message tutorial contains totally different config example. Can i use JCA to send messages, Imean to use the:

<bean id="jencks" class="org.jencks.JCAContainer">
    <property name="transactionManager" ref="transactionManager"/>
    <property name="threadPoolSize" value="100"/>
    <property name="resourceAdapter">
      <bean id="activeMQResourceAdapter" class="org.apache.activemq.ra.ActiveMQResourceAdapter">
        <property name="serverUrl" value="tcp://192.168.2.2:61616"/>
      </bean>
    </property>
  </bean>

code for the message producers?