|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProcessConfig
This interface represents an ESB itinerary (also known as an ESB process).
Nested Class Summary | |
---|---|
static class |
IProcessConfig.TrackingLevel
|
Nested classes/interfaces inherited from interface com.sonicsw.esb.mgmtapi.config.IQos |
---|
IQos.QOSLevel |
Field Summary | |
---|---|
static IProcessConfig.TrackingLevel |
TRACKING_ADD_MESSAGE_CONTENT
TRACKING_ADD_MESSAGE_CONTENT (4) tracks at the TRACKING_ADD_MESSAGE_HEADERS level and in addition adds the message contet of the tracked message to the tracking message content as a multipart message. |
static IProcessConfig.TrackingLevel |
TRACKING_ADD_MESSAGE_HEADERS
TRACKING_ADD_MESSAGE_HEADERS (3) tracks at the TRACKING_SERVICE_ENTRY_AND_EXIT level and in addition adds the message headers of the tracked message to the tracking message content: <xqMessageHeaders> <header name="A">valueA</header> <header name="B">valueB</header> </xqMessageHeaders> |
static IProcessConfig.TrackingLevel |
TRACKING_OFF
TRACKING_OFF (0) implies no tracking. |
static IProcessConfig.TrackingLevel |
TRACKING_PROCESS_ENTRY_AND_EXIT
TRACKING_PROCESS_ENTRY_AND_EXIT (1) tracks when a message enters and leaves a SonicESB process, including nested processes. |
static IProcessConfig.TrackingLevel |
TRACKING_SERVICE_ENTRY_AND_EXIT
TRACKING_SERVICE_ENTRY_AND_EXIT (2) tracks when a message enters and leave a SonicESB service deployed within a SonicESB process, in addition to tracking process entries and exits. |
Fields inherited from interface com.sonicsw.esb.mgmtapi.config.IQos |
---|
AT_LEAST_ONCE, BEST_EFFORT, EXACTLY_ONCE |
Method Summary | |
---|---|
void |
addExitAddress(IAddress exit)
Add a new exit destination to the set of addresses outputs from the process are delivered to. |
IServiceApplicationConfig |
addToContainer(IContainerConfig container,
int numListeners)
Add to the container who's configuration was specified |
void |
clearExitAddresses()
Empty out the set of exit destinations. |
IAddress |
getAsAddress()
Get the process's address for use in API calls which require an address. |
java.lang.String |
getDescription()
|
IEndpointConfig |
getEntryEndpointConfig()
|
IAddress[] |
getExitAddresses()
|
IAddress |
getFaultAddress()
|
IAddress |
getFaultHandlerAddress()
|
IQos.QOSLevel |
getQOSLevel()
|
IAddress |
getRejectedMessageAddress()
|
long |
getTimeToLive()
|
IAddress |
getTrackingDestination()
|
IProcessConfig.TrackingLevel |
getTrackingLevel()
|
java.lang.String |
getTrackingRulesFile()
|
java.lang.String |
getWSDLUrl()
|
boolean |
removeFromContainer(IContainerConfig container)
Remove the process from the container, if it was deployed there. |
void |
setDescription(java.lang.String description)
|
void |
setEntryEndpointConfig(IEndpointConfig entry)
Set the destination to which Fault messages are sent by default. |
void |
setExitAddress(IAddress[] exits)
Replace the currently configured set of exit destinations with the new set. |
void |
setFaultAddress(IAddress fault)
Set the destination to which Fault messages are sent by default. |
void |
setFaultHandlerAddress(IAddress faultHandlerAddress)
Set the configured destination for process Fault Handler |
void |
setQOSLevel(IQos.QOSLevel qosLevel)
Set the Quality of Service for the process. |
void |
setRejectedMessageAddress(IAddress rme)
Set the destination to which Rejected Messages are sent. |
void |
setTimeToLive(long timeToLive)
|
void |
setTrackingDestination(IAddress tackingDestination)
Set the destination to which tracking messages generated by the process are sent to. |
void |
setTrackingLevel(IProcessConfig.TrackingLevel level)
Set the verbosity of tracking messages generated by this process. see above e.g. |
void |
setTrackingRulesFile(java.lang.String trackingRulesFile)
Set the JavaScript rules file for generating ID's for tracking messages. |
void |
setWSDLUrl(java.lang.String url)
|
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IBaseConfig |
---|
getName, getType |
Field Detail |
---|
static final IProcessConfig.TrackingLevel TRACKING_OFF
static final IProcessConfig.TrackingLevel TRACKING_PROCESS_ENTRY_AND_EXIT
static final IProcessConfig.TrackingLevel TRACKING_SERVICE_ENTRY_AND_EXIT
static final IProcessConfig.TrackingLevel TRACKING_ADD_MESSAGE_HEADERS
<xqMessageHeaders> <header name="A">valueA</header> <header name="B">valueB</header> </xqMessageHeaders>
static final IProcessConfig.TrackingLevel TRACKING_ADD_MESSAGE_CONTENT
For tracking Level 4, the Tracking Message would always be a Multipart Message. The first part would have the same content as Tracking Level 3 above. The part would be: � Content-Id: TrackingMessage � Content-Type: text/xml Parts 2�n+1 of the Tracking Message would be copies of parts 1�n of the original XQMessage. Note that for the case of the original message having no parts, the tracking message would be a single part MultipartMessage. In other words, � The user could recover the original message parts by looking at parts 2..n+1 of the Tracking Messages. This would include: � Part Headers � Part Content � The user could recover the original messages Headers by parsing the TrackingMessage part (Part 1) and getting header values from the <xqMessageHeaders/>
Method Detail |
---|
java.lang.String getWSDLUrl()
void setWSDLUrl(java.lang.String url)
url
- -
A sonicfs:// URL pointing to the WSDL file associated with the process.long getTimeToLive()
void setTimeToLive(long timeToLive)
timeToLive
- -
set the elapsed time processes are allowed to continue execution. 0 represents forever. Expiration is evaluated before a
message is dispatched to a service. The expiration time is set by the container which first processes a message.java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- -
some descriptive text about the process.IQos.QOSLevel getQOSLevel()
IQos.QOSLevel
void setQOSLevel(IQos.QOSLevel qosLevel)
IQos.QOSLevel
IAddress getAsAddress()
void setEntryEndpointConfig(IEndpointConfig entry)
IEndpointConfig getEntryEndpointConfig()
IAddress[] getExitAddresses()
void addExitAddress(IAddress exit)
exit
- -
the new exist destinationvoid setExitAddress(IAddress[] exits)
exits
- -
new set of exit destinationvoid clearExitAddresses()
IAddress getFaultAddress()
void setFaultAddress(IAddress fault)
IAddress getFaultHandlerAddress()
void setFaultHandlerAddress(IAddress faultHandlerAddress)
IAddress getRejectedMessageAddress()
void setRejectedMessageAddress(IAddress rme)
void setTrackingLevel(IProcessConfig.TrackingLevel level)
TRACKING_OFF
TRACKING_ADD_MESSAGE_CONTENT
When you enable tracking (a value other than TRACKING_OFF) you also need to set the tracking rules file and
the tracking destination as all tracking information is saved to the process.
When you disable tracking (TRACKING_OFF) all tracking information is removed from the process and
any settings for tracking rules file and tracking destination will be discarded
level
- -
one of the predefined constants of type TrackingLevelIProcessConfig.TrackingLevel getTrackingLevel()
java.lang.String getTrackingRulesFile()
void setTrackingRulesFile(java.lang.String trackingRulesFile)
trackingRulesFile
- -
a URL to JavaScript file.IAddress getTrackingDestination()
void setTrackingDestination(IAddress tackingDestination)
IServiceApplicationConfig addToContainer(IContainerConfig container, int numListeners)
container
- numListeners
-
boolean removeFromContainer(IContainerConfig container)
container
- the container from which to remove
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |