resin jms 配置
程序员文章站
2024-02-21 16:52:04
...
resin jms 配置
resin.jar
The JDBC Queues and Topics provide a persistent messaging store. The Memory Queues and Topics provide a low-overhead memory-based store.
参考:
http://www.caucho.com/resin-3.0/jms/config.xtp
http://activemq.apache.org/tomcat.html
resin.jar
<!--
- JMS MemoryQueue
The Memory Queue and Topic are non-persistent. If the server restarts or even if the Queue's environment restarts, the messaging data will be lost. Applications needing persistent messaging should use the JDBC Queues.
-->
<resource jndi-name="jms/statusReplyQueue" type="com.caucho.jms.memory.MemoryQueue">
<init>
<queue-name>statusReplyQueue</queue-name>
</init>
</resource>
<!-- configures jms jndi name
The ConnectionFactory resource defines the JMS factory for creating JMS connections -->
<resource jndi-name="jms/statusReplyQueueConnectionFactory" type="com.caucho.jms.ConnectionFactoryImpl">
</resource>
The JDBC Queues and Topics provide a persistent messaging store. The Memory Queues and Topics provide a low-overhead memory-based store.
参考:
http://www.caucho.com/resin-3.0/jms/config.xtp
http://activemq.apache.org/tomcat.html
下一篇: 工作中常用到的一些函数及单例模式