All,
In the steps of JBoss - Oracle AQ Patch 10g, I see one of them is to use JBossMQProvider to create AQ provider. Could anyone help to explain the reason?
---------------------------------JBoss - Oracle AQ Patch 10g------------------------------------------------
Create the Oracle Advanced Queue JMS provider. Edit JBOSS_HOME/server/default/deploy/jms/jms-ds.xml, add the following lines (copy/paste the default JMS provider and update mbean
element name
attibute, the ProviderName
and the QueueFactoryRef
and TopicFactoryRef
):
<!-- The OAQ JMS provider loader -->
<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.mq:service=JMSProviderLoader,name=OAQJMSProvider">
<attribute name="ProviderName">OAQJMSProvider</attribute>
<attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JBossMQProvider</attribute>
<attribute name="QueueFactoryRef">OAQQueueConnectionFactory</attribute>
<attribute name="TopicFactoryRef">OAQTopicConnectionFactory</attribute>
</mbean>