public class JMSAcquisitionQueue extends Object
JMSAcquisitionQueue
class allows administrators to create JMS
acquisition queues (JMS bridge in).
The JMS bridge destinations rely on a particular Joram service which purpose is to maintain valid connections with the foreign XMQ servers.
Modifier and Type | Field and Description |
---|---|
static String |
JMSAcquisition
Class name of handler allowing to acquire messages to a foreign JMS provider.
|
Constructor and Description |
---|
JMSAcquisitionQueue() |
Modifier and Type | Method and Description |
---|---|
static Queue |
create(int serverId,
String dest)
Administration method creating and deploying a JMS acquisition queue on a given server.
|
static Queue |
create(int serverId,
String name,
String dest)
Administration method creating and deploying a JMS acquisition queue on a given server.
|
static Queue |
create(int serverId,
String name,
String dest,
Properties props)
Administration method creating and deploying a JMS acquisition queue on a given server.
|
static Queue |
create(String dest)
Administration method creating and deploying a JMS acquisition queue on the local server.
|
public static final String JMSAcquisition
public static Queue create(String dest) throws ConnectException, AdminException
The request fails if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
dest
- The name of the foreign destination.ConnectException
- If the administration connection is closed or broken.AdminException
- If the request fails.create(int, String, String, Properties)
public static Queue create(int serverId, String dest) throws ConnectException, AdminException
The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
serverId
- The identifier of the server where deploying the queue.dest
- The name of the foreign destination.ConnectException
- If the administration connection is closed or broken.AdminException
- If the request fails.create(int, String, String, Properties)
public static Queue create(int serverId, String name, String dest) throws ConnectException, AdminException
The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
serverId
- The identifier of the server where deploying the queue.name
- The name of the created queue.dest
- The name of the foreign destination.ConnectException
- If the administration connection is closed or broken.AdminException
- If the request fails.create(int, String, String, Properties)
public static Queue create(int serverId, String name, String dest, Properties props) throws ConnectException, AdminException
A set of properties is used to configure the distribution destination:
Be careful this method use the static AdminModule connection.
serverId
- The identifier of the server where deploying the queue.name
- The name of the created queue.dest
- The name of the foreign destination.props
- A Properties object containing all needed parameters.ConnectException
- If the administration connection is closed or broken.AdminException
- If the request fails.Copyright © 2018 ScalAgent D.T.. All Rights Reserved.