[jboss-user] [IronJacamar] - Re: Replacement for sun-jms-adapter.rar?

RB Whitaker do-not-reply at jboss.com
Tue Sep 11 15:35:23 EDT 2012


RB Whitaker [https://community.jboss.org/people/rbwhitaker] created the discussion

"Re: Replacement for sun-jms-adapter.rar?"

To view the discussion, visit: https://community.jboss.org/message/759092#759092

--------------------------------------------------------------
Yes and no. It got me started, but then shortly after getting started, I... got stuck. Big time.  :) 

When I run rar-info, I get something that looks like this:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <resource-adapters>
>   <resource-adapter>
>     <archive>C:\Users\rbwhitak\Desktop\The Bucket\genericra.rar</archive>
>     <config-property name="LogLevel"/>
>     <config-property name="CommonSetterMethodName"/>
>     <config-property name="TopicClassName"/>
>     <config-property name="QueueConnectionFactoryClassName"/>
>     <config-property name="Password"/>
>     <config-property name="UseFirstXAForRedelivery"/>
>     <config-property name="UserName"/>
>     <config-property name="ConnectionFactoryClassName"/>
>     <config-property name="ConnectionFactoryProperties"/>
>     <config-property name="JndiProperties"/>
>     <config-property name="RMPolicy"/>
>     <config-property name="XAConnectionFactoryClassName"/>
>     <config-property name="SupportsXA"/>
>     <config-property name="UnifiedDestinationClassName"/>
>     <config-property name="QueueClassName"/>
>     <config-property name="XAQueueConnectionFactoryClassName"/>
>     <config-property name="DeliveryType"/>
>     <config-property name="XATopicConnectionFactoryClassName"/>
>     <config-property name="ProviderIntegrationMode"/>
>     <config-property name="TopicConnectionFactoryClassName"/>
>     <transaction-support>XATransaction</transaction-support>
>     <connection-definitions>
>       <connection-definition class-name="com.sun.genericra.outbound.ManagedQueueConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">
>         <config-property name="ClientId"/>
>         <config-property name="ConnectionValidationEnabled"/>
>         <config-property name="ConnectionFactoryJndiName"/>
>         <xa-pool>
>           <min-pool-size>0</min-pool-size>
>           <max-pool-size>10</max-pool-size>
>           <prefill>false</prefill>
>           <use-strict-min>false</use-strict-min>
>           <flush-strategy>FailingConnectionOnly</flush-strategy>
>           <pad-xid>false</pad-xid>
>           <wrap-xa-resource>true</wrap-xa-resource>
>         </xa-pool>
>         <security>
>           <application/>
>         </security>
>       </connection-definition>
>       <connection-definition class-name="com.sun.genericra.outbound.ManagedTopicConnectionFactory" enabled="true" jndi-name="java:jboss/eis/TopicConnection" pool-name="TopicConnection" use-ccm="true" use-java-context="true">
>         <config-property name="ClientId"/>
>         <config-property name="ConnectionValidationEnabled"/>
>         <config-property name="ConnectionFactoryJndiName"/>
>         <xa-pool>
>           <min-pool-size>0</min-pool-size>
>           <max-pool-size>10</max-pool-size>
>           <prefill>false</prefill>
>           <use-strict-min>false</use-strict-min>
>           <flush-strategy>FailingConnectionOnly</flush-strategy>
>           <pad-xid>false</pad-xid>
>           <wrap-xa-resource>true</wrap-xa-resource>
>         </xa-pool>
>         <security>
>           <application/>
>         </security>
>       </connection-definition>
>       <connection-definition class-name="com.sun.genericra.outbound.ManagedJMSConnectionFactory" enabled="true" jndi-name="java:jboss/eis/Connection" pool-name="Connection" use-ccm="true" use-java-context="true">
>         <config-property name="ClientId"/>
>         <config-property name="ConnectionValidationEnabled"/>
>         <config-property name="ConnectionFactoryJndiName"/>
>         <xa-pool>
>           <min-pool-size>0</min-pool-size>
>           <max-pool-size>10</max-pool-size>
>           <prefill>false</prefill>
>           <use-strict-min>false</use-strict-min>
>           <flush-strategy>FailingConnectionOnly</flush-strategy>
>           <pad-xid>false</pad-xid>
>           <wrap-xa-resource>true</wrap-xa-resource>
>         </xa-pool>
>         <security>
>           <application/>
>         </security>
>       </connection-definition>
>     </connection-definitions>
>     <admin-objects>
>       <admin-object class-name="com.sun.genericra.outbound.QueueProxy" enabled="true" jndi-name="java:jboss/eis/ao/QueueProxy" pool-name="QueueProxy" use-java-context="true">
>         <config-property name="DestinationJndiName"/>
>         <config-property name="DestinationProperties"/>
>       </admin-object>
>       <admin-object class-name="com.sun.genericra.outbound.TopicProxy" enabled="true" jndi-name="java:jboss/eis/ao/TopicProxy" pool-name="TopicProxy" use-java-context="true">
>         <config-property name="DestinationJndiName"/>
>         <config-property name="DestinationProperties"/>
>       </admin-object>
>     </admin-objects>
>   </resource-adapter>
> </resource-adapters>
But there's all of those config-property elements that need a value, and I'm having to do a lot of guessing to figure out what values they're supposed to be. Some are easier than others to guess. For instance, QueueClassName I think I can figure out, but ProviderIntegrationMode is not so obvious.

Is there any more intelligent way to figure out what these values should be, besides guess and check?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759092#759092]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120911/54e767c9/attachment.html 


More information about the jboss-user mailing list