Property Name
Valid Values
Default Value
Description
RMPolicy
ProviderManaged
or
OnePerPhysicalConnection
Provider
Managed
The
isSameRM
method on an
XAResource
is used by the
Transaction Manager to determine if
the Resource Manager instance
represented by two
XAResources
are
the same. When
RMPolicy
is set to
ProviderManaged
(the default value),
the JMS provider is responsible for
determining the
RMPolicy
and the
XAResource
wrappers in the Generic
Resource Adapter merely delegate the
isSameRM
call to the message queue
provider's XA resource
implementations. This should ideally
work for most message queue
products.
Some
XAResource
implementations
such as IBM MQ Series rely on a
resource manager per physical
connection and this causes issues
when there is inbound and outbound
communication to the same queue
manager in a single transaction (for
example, when an MDB sends a
response to a destination). When
RMPolicy
is set to
OnePerPhysicalConnection
, the
XAResource wrapper
implementation's
isSameRM
in
Generic Resource Adapter would
check if both the
XAResource
s use the
same physical connection, before
delegating to the wrapped objects.
ManagedConnectionFactory
Properties
ManagedConnectionFactory
properties are specified when a connector-connection-pool is
created. All the properties specified while creating the resource adapter can be overridden in a
ManagedConnectionFactory
. Additional properties available only in
ManagedConnectionFactory
are given below.
Foreign JMS Providers
Chapter 4 • Configuring Java Message Service Resources
71
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...