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
Summary of Contents for Sun GlassFish Enterprise Server 2.1
Page 12: ...12 ...
Page 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Page 14: ...14 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 62: ...62 ...
Page 96: ...96 ...
Page 126: ...126 ...
Page 160: ...160 ...
Page 214: ...214 ...
Page 218: ...218 ...
Page 230: ...230 ...