public interface PropagationMode
PropagationMode defines the propagation properties of
WorkContexts. WorkContexts can be
propagated locally, across threads, across RMI invocations, across
JMS queues and topics, and across SOAP messages.
In general PropagationModes are provided as a
bitwise-OR of desired values. If no PropagationMode is
specified when a WorkContext is created then the
default value DEFAULT is used which propagates data
across remote and local calls in the same thread only.WorkContextMap| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT |
The default
PropagationMode which is equivalent to
GLOBAL. |
static int |
GLOBAL |
Propagate a WorkContext across remote invocations and local
invocations in the same thread.
|
static int |
JMS_QUEUE |
Propagate a WorkContext to JMS queues.
|
static int |
JMS_TOPIC |
Propagate a WorkContext to JMS topics.
|
static int |
LOCAL |
Propagate a WorkContext only for the scope of the current thread.
|
static int |
MIME_HEADER |
Propagate a WorkContext from a MIME header or HTTP cookie.
|
static int |
ONEWAY |
Propagate a WorkContext downstream from the caller only.
|
static int |
RMI |
Propagate a WorkContext across RMI invocations.
|
static int |
SOAP |
Propagate a WorkContext across SOAP messages.
|
static int |
TRANSACTION |
Propagate a WorkContext across global transactions.
|
static int |
WORK |
Propagate a WorkContext across Work instances.
|
static final int LOCAL
static final int WORK
static final int RMI
static final int TRANSACTION
static final int JMS_QUEUE
static final int JMS_TOPIC
static final int SOAP
static final int MIME_HEADER
static final int ONEWAY
static final int GLOBAL
static final int DEFAULT
PropagationMode which is equivalent to
GLOBAL.