• hessian
  • quercus/php
  • resin 3.0
  • resin 3.1
  • resin 4.0

  • changes
  • configuration
  • examples
  • installing
  • overview
  • starting

  • guide: admin
  • admin
  • amber
  • bam
  • caching
  • clustering
  • comet
  • database
  • deployment
  • ejb 3.0
  • embedding
  • filters
  • ioc
  • jsf
  • jsp
  • logging
  • messaging
  • quercus
  • remoting
  • security
  • resources
  • servlets
  • third-party
  • troubleshooting
  • virtual host
  • watchdog
  • webapp
  • HOME
  • ABOUT
  • ARTICLES
  • WORKSPACE
  • NEWS
  • PROJECTS
  • PRODUCTS
  • STORE
resin

Configuration for Resin's JMS provider implementation. The JDBC Queues and Topics provide a persistent messaging store. The Memory Queues and Topics provide a low-overhead memory-based store.

The JDBC Queue and Topic store the messages using a JDBC DataSource. The data source will be defined in a <database> element. Resin's internal file-based database can be used for single-JVM messaging.

<database jndi-name="jdbc/resin"> <driver type="com.caucho.db.jdbc.ConnectionPoolDataSourceImpl"> <path>WEB-INF/db</path> </driver> </database> <resource jndi-name="jms/my-queue" type="com.caucho.jms.jdbc.JdbcQueue"> <init> <queue-name>my-queue</queue-name> <data-source>jdbc/resin</data-source> </init> </resource> <resource jndi-name="jms/my-topic" type="com.caucho.jms.jdbc.JdbcTopic"> <init> <topic-name>my-topic</topic-name> <data-source>jdbc/resin</data-source> </init> </resource>

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/my-queue" type="com.caucho.jms.memory.MemoryQueue"> <init> <queue-name>my-queue</queue-name> </init> </resource> <resource jndi-name="jms/my-topic" type="com.caucho.jms.memory.MemoryTopic"> <init> <topic-name>my-topic</topic-name> </init> </resource>
  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • SALES |
  • WIKI
Copyright (c) 1998-2009 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
  • hessian
  • quercus/php
  • resin 3.0
  • resin 3.1
  • resin 4.0

  • changes
  • configuration
  • examples
  • installing
  • overview
  • starting

  • guide: admin
  • admin
  • amber
  • bam
  • caching
  • clustering
  • comet
  • database
  • deployment
  • ejb 3.0
  • embedding
  • filters
  • ioc
  • jsf
  • jsp
  • logging
  • messaging
  • quercus
  • remoting
  • security
  • resources
  • servlets
  • third-party
  • troubleshooting
  • virtual host
  • watchdog
  • webapp
  • HOME
  • ABOUT
  • ARTICLES
  • WORKSPACE
  • NEWS
  • PROJECTS
  • PRODUCTS
  • STORE

The ConnectionFactory resource defines the JMS factory for creating JMS connections.

<resource jndi-name="jms/factory" type="com.caucho.jms.ConnectionFactoryImpl"> <init> <data-source>jdbc/database</data-source> </init> </resource>
data-sourceOptional JDBC DataSourcenone
client-idclientID value for durable subscriptionsnone
  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • SALES |
  • WIKI
Copyright (c) 1998-2009 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.