请问:在jboss中jms的连接工厂在哪里设置???
如题,在jbossmq-service.xml 中,我加了一部分,如下:
<mbean code="org.jboss.mq.il.oil2.OIL2ServerILService"
name="jboss.mq:service=InvocationLayer,type=OIL2,name=iftraffic">
<depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
<attribute name="ConnectionFactoryJNDIRef">iftrafficJMS</attribute>
<attribute name="XAConnectionFactoryJNDIRef">OIL2XAConnectionFactory</attribute>
<attribute name="ServerBindPort">8092</attribute>
<attribute name="PingPeriod">60000</attribute>
<attribute name="EnableTcpNoDelay">true</attribute>
</mbean>
其中ConnectionFactoryJNDIRef部分,我觉得只是在jndi中,绑定iftrafficJMS这个连接工厂。那么我在哪里可以定义这个iftrafficJMS连接工厂呢?
谢谢各位!