Through trial and error, as well as piecing together documentation, I have
managed to get the Sonic rar to work. It involves:
1) The Sonic rar must be deployed.
2) The standardjboss.xml must have two entries:
Invoker Proxy
| <invoker-proxy-binding>
| <name>Some Name Here</name>
| <invoker-mbean>default</invoker-mbean>
|
<proxy-factory>org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory</proxy-factory>
| <proxy-factory-config>
| <endpoint-interceptors>
|
<interceptor>org.jboss.proxy.ClientMethodInterceptor</interceptor>
|
<interceptor>org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor</interceptor>
|
<interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
|
<interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
| </endpoint-interceptors>
| </proxy-factory-config>
| </invoker-proxy-binding>
|
and
<container-configuration>
| <container-name>A configuration name here</container-name>
| <call-logging>false</call-logging>
| <invoker-proxy-binding-name>Invoker Proxy Name
Here</invoker-proxy-binding-name>
| <container-interceptors>
|
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
| <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
|
<interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
| <!-- CMT -->
| <interceptor
transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
| <interceptor
transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
| <interceptor
transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
| <!-- BMT -->
| <interceptor
transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
| <interceptor
transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
| <interceptor
transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
|
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
| </container-interceptors>
|
<instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
| <instance-cache></instance-cache>
| <persistence-manager></persistence-manager>
| <container-pool-conf>
| <MaximumSize>100</MaximumSize>
| </container-pool-conf>
| </container-configuration>
|
3) An entry in jboss.xml
<enterprise-beans>
| <message-driven>
| <ejb-name>SonicQueueMDB</ejb-name>
| <configuration-name>The configuration name
here</configuration-name>
| <resource-adapter-name>sonic-jms-ra.rar</resource-adapter-name>
| </message-driven>
| </enterprise-beans>
|
What I cannot seem to figure out is how to specify the configuration name in
the annotation. Any clues?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959123#3959123
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959123
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user