public final class AsynchConstants extends Object
RouteConstants
Modifier and Type | Field and Description |
---|---|
static String |
ASYNCH_MSG_HEADER
Header name that holds the
Boolean if processing is asynchronous (true). |
static String |
BUSINESS_ERROR_PROP_SUFFIX
Suffix of the property name that holds the business
Exception ,
i.e. |
static String |
CUSTOM_DATA_PROP
Property name that holds the custom data (string).
|
static String |
ENTITY_TYPE_HEADER
Header value that holds
entity type of the object in the message. |
static String |
ERR_CALLBACK_RES_PROP
Property that holds
CallbackResponse with FAIL state. |
static String |
EXCEPTION_ERROR_CODE
Property name that holds
error code of the failure. |
static String |
EXCLUDE_FAILED_HEADER
Header value that holds flag (true/false) if FAILED state should be considered when guaranteed order is involved.
|
static String |
FUNNEL_VALUE_HEADER
Header value that holds funnel value of the message.
|
static String |
GUARANTEED_ORDER_HEADER
Header value that holds flag (true/false) if route should be processed in guaranteed order or not.
|
static String |
MSG_HEADER
Header name that holds the
Message for processing. |
static String |
MSG_QUEUE_INSERT_HEADER
Header name that holds timestamp (long in ms) when message is inserted into queue for next processing.
|
static String |
NO_EFFECT_PROCESS_HEADER
Header name that holds the boolean flag, if message processing was with no effect
(the message can't be processed because there are no prepared data in DB so far).
|
static String |
OBJECT_ID_HEADER
Header value that holds ID of the object in the message.
|
static String |
OPERATION_HEADER
Header value that holds target operation name (as string).
|
static String |
PRIORITY_QUEUE_FACTORY
Name of the priority queue factory.
|
static String |
SERVICE_HEADER
Header value that holds target
service identification . |
static String |
URI_ASYNC_MSG
URI for asynchronous message processing (with SEDA).
|
static String |
URI_ASYNCH_IN_MSG
Endpoint URI for processing asynchronous incoming message.
|
static String |
URI_CONFIRM_MESSAGE
URI of for ensuring the provided message status is confirmed to the source system.
|
static String |
URI_ERROR_FATAL
URI of the route that sets current message as FAILED.
|
static String |
URI_ERROR_HANDLING
URI of the route that solves error handling.
|
static String |
URI_EX_TRANSLATION
URI of the route that translates exceptions.
|
static String |
URI_POST_PROCESS_AFTER_FAILED
URI of the route that makes post-processing when message failed.
|
static String |
URI_POST_PROCESS_AFTER_OK
URI of the route that makes post-processing after OK message.
|
public static final String MSG_HEADER
Message
for processing.public static final String NO_EFFECT_PROCESS_HEADER
public static final String ASYNCH_MSG_HEADER
Boolean
if processing is asynchronous (true).public static final String CUSTOM_DATA_PROP
Custom data can be used for saving arbitrary data for transferring state between more processing calls of the asynchronous message.
public static final String BUSINESS_ERROR_PROP_SUFFIX
Exception
,
i.e. exception that means that target system throws expected (business) exception.
Each target system call can generate different exceptions therefore use this constant as suffix for property names.
public static final String SERVICE_HEADER
service identification
.public static final String OPERATION_HEADER
public static final String OBJECT_ID_HEADER
Object ID with entity type
and operation name
are used for identification of "obsolete" messages.
public static final String FUNNEL_VALUE_HEADER
Funnel value serves for filtering messages in the route where should be only one processing message with same funnel value.
public static final String GUARANTEED_ORDER_HEADER
public static final String EXCLUDE_FAILED_HEADER
GUARANTEED_ORDER_HEADER
,
Constant Field Valuespublic static final String ENTITY_TYPE_HEADER
entity type
of the object in the message.
Entity type with object ID
and operation name
are used for identification of "obsolete" messages.
Entity type isn't mandatory, if combination object ID - operation name is enough.
public static final String ERR_CALLBACK_RES_PROP
CallbackResponse
with FAIL state.public static final String EXCEPTION_ERROR_CODE
error code
of the failure.public static final String PRIORITY_QUEUE_FACTORY
public static final String URI_EX_TRANSLATION
public static final String URI_ASYNCH_IN_MSG
public static final String URI_ERROR_HANDLING
public static final String URI_ERROR_FATAL
public static final String URI_ASYNC_MSG
public static final String URI_POST_PROCESS_AFTER_OK
public static final String URI_POST_PROCESS_AFTER_FAILED
public static final String URI_CONFIRM_MESSAGE
public static final String MSG_QUEUE_INSERT_HEADER
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.