欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

resin jms 配置

程序员文章站 2024-02-21 16:52:04
...
resin jms 配置

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