Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: Creating Physical Destinations
- Next: Restarting the JMS Client After JMS Configuration

## Creating JMS Resources: Destinations and Connection Factories

You can create two kinds of JMS resources in the Application Server:

- Connection Factories: administered objects that implement the `ConnectionFactory`, `QueueConnectionFactory`, or `TopicConnectionFactory` interfaces.

- Destination Resources: administered objects that implement the `Queue` or `Topic` interfaces.

In either case, the steps for creating a JMS resource are the same. You can create a JMS resource in the following ways:

- To create a JMS resource using the Administration Console, open the Resources component, then open the JMS Resources component. Click Connection Factories to create a connection factory, or click Destination Resources to create a queue or topic. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide.

- To create a JMS resource, use the `asadmin create-jms-resource` command. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual.

Note –

When a `Queue` is automatically created for a message-driven bean deployed to an Application Server cluster, the value of the property `maxNumActiveConsumers` is set to `-1` so that multiple consumers can access the `Queue` at the same time. For more information, see Load-Balanced Message Inflow.

All JMS resource properties that used to work with version 7 of the Application Server are supported for backward compatibility.

- Previous: Creating Physical Destinations
- Next: Restarting the JMS Client After JMS Configuration

- © 2010, Oracle Corporation and/or its affiliates