[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: [JBMESSAGING-1367] Create JCA resource adapter for JBM 2

jesper.pedersen do-not-reply at jboss.com
Fri Jan 9 10:27:11 EST 2009


So I'm working on this again...

I'm focusing on the outbound part of the adaptor first - which exposes the JMS 1.1 API.

Looking at ClientSessionFactoryImpl there are a lot of constructors - some with composite datatypes (such as TransportConfiguration) - so I think I'll focus on the

  |    public ClientSessionFactoryImpl(final String discoveryGroupName, 
  |                                    final int discoveryGroupPort) 
  |        throws Exception
  | 
first. We can add support for the others along the way.

FYI  - configuration parameters to the resource adaptor are passed in through the ra.xml file - f.ex.

  |     <config-property>
  |         <description>The discovery group name</description>
  |         <config-property-name>DiscoveryGroupName</config-property-name>
  |         <config-property-type>java.lang.String</config-property-type>
  |         <config-property-value>myValue</config-property-value>
  |     </config-property>
  | 

Or is there a better way to initialize the client API and get a ClientSession ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200613#4200613

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200613



More information about the jboss-dev-forums mailing list