WEB开发网
开发学院软件开发Java 利用 WAS CE v2.1 创建基于 JMS 的应用 阅读

利用 WAS CE v2.1 创建基于 JMS 的应用

 2009-11-11 00:00:00 来源:WEB开发网   
核心提示: 清单 1. jms-resources.xml<resourceadapter><resourceadapter-instance><resourceadapter-name>jms-resources</resourceadapter-name>


清单 1. jms-resources.xml
<resourceadapter> 
    <resourceadapter-instance> 
      <resourceadapter-name>jms-resources</resourceadapter-name> 
      <nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2"> 
        <nam:gbean-link>DefaultWorkManager</nam:gbean-link> 
      </nam:workmanager> 
    </resourceadapter-instance> 
   ...... 
   <adminobject> 
    <adminobject-interface>javax.jms.Queue</adminobject-interface> 
    <adminobject-class> 
      org.apache.activemq.command.ActiveMQQueue 
    </adminobject-class> 
    <adminobject-instance> 
      <message-destination-name>OrderQueue</message-destination-name> 
      <config-property-setting name="PhysicalName"> 
        OrderQueue 
      </config-property-setting> 
    </adminobject-instance> 
  </adminobject> 
  <adminobject> 
    <adminobject-interface>javax.jms.Topic</adminobject-interface> 
    <adminobject-class> 
        org.apache.activemq.command.ActiveMQTopic 
    </adminobject-class> 
    <adminobject-instance> 
      <message-destination-name>OrderTopic</message-destination-name> 
      <config-property-setting name="PhysicalName"> 
         OrderTopic 
      </config-property-setting> 
    </adminobject-instance> 
   </adminobject> 

上一页  1 2 3 4 5 6 7 8 9  下一页

Tags:利用 WAS CE

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接