I'm finding in practice, if I configure a connection factory to use res-sharing-scope "Unshareable", like so
| <resource-ref> |
| <description>Default TopicFactory</description> |
| <res-ref-name>jms/jms_qa_func_d1c1_cf3</res-ref-name> |
| <res-type>javax.jms.TopicConnectionFactory</res-type> |
| <res-auth>Application</res-auth> |
| <res-sharing-scope>Unshareable</res-sharing-scope> |
| <lookup-name>java:jboss/jms_qa_func_d1c1_cf3</lookup-name> |
| </resource-ref> |
It will still use Shareable connections. This is using an application where a resource-adapter (not from JBoss) is deployed and the resource-adapter doesn't support shared connections.
Does JBoss 7 support Unshareable and if so, how is this configured?