0 Replies Latest reply on Nov 27, 2007 3:11 PM by rohid dev

    Stream Queue and Pub sub

    rohid dev Newbie

      I have a working pub sub application that uses default Stream Queue.

      I now need to set Stream Queue value. Could you tell me how this is done.

      Below is the jboss-service.xml file info

      <server>
       <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
       name="jmx.service.wsmq:service=MQQueueConnectionFactory">
       <attribute name="JndiName">WSMQQueueConnectionFactory</attribute>
       <attribute name="JMSStyle">Queue</attribute>
       <attribute name="IsXA">false</attribute>
       <attribute name="QueueManagerName">NHQ2S1QM</attribute>
       <attribute name="HostName">NHQ2S1QM</attribute>
       <attribute name="Channel">NHQ2S1QM.SERV1</attribute>
       <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
       <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
       <attribute name="CCSID">819</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean>
       <mbean code="jmx.service.wsmq.WSMQConnectionFactory"
       name="jmx.service.wsmq:service=MQTopicConnectionFactory">
       <attribute name="JndiName">WSMQTopicConnectionFactory</attribute>
       <attribute name="JMSStyle">Topic</attribute>
       <attribute name="IsXA">false</attribute>
       <attribute name="QueueManagerName">NHQ2S1QM</attribute>
       <attribute name="HostName">NHQ2S1QM</attribute>
       <attribute name="Channel">NHQ2S1QM.SERV1</attribute>
       <!-- MQJMS_TP_BINDINGS_MQ, MQJMS_TP_CLIENT_MQ_TCPIP, MQJMS_TP_DIRECT_TCPIP -->
       <attribute name="TransportType">MQJMS_TP_CLIENT_MQ_TCPIP</attribute>
       <attribute name="CCSID">819</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean>
      
       <mbean code="jmx.service.wsmq.WSMQDestination"
       name="jmx.service.wsmq:service=WSMQTopic">
       <attribute name="JndiName">wsmq/SE00151/TESTQUEUE/DU000001</attribute>
       <attribute name="JMSStyle">Topic</attribute>
       <attribute name="QueueManagerName">NHQ2S1QM</attribute>
       <attribute name="DestinationName">SE00151/TESTQUEUE/DU000001</attribute>
       <attribute name="CCSID">819</attribute>
       <depends>jboss:service=Naming</depends>
       </mbean>
      
      </server>