|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
com.legstar.cixs.jbossesb.AbstractLegStarAction
com.legstar.cixs.jbossesb.EsbServiceInvokerAction
public class EsbServiceInvokerAction
This action invokes a registered service within the ESB using
ServiceInvoker
.
The target service is specified at configuration time.
It assumes the message processed has valid content for the target service.
Field Summary | |
---|---|
static long |
DEFAULT_INVOKE_TIMEOUT_PROPERTY
The default invoke timeout in milliseconds. |
static String |
ESB_SERVICE_CATEGORY_NAME_PROPERTY
Name of property holding the target ESB service category name. |
static String |
ESB_SERVICE_NAME_PROPERTY
Name of property holding the target ESB service name. |
static String |
INVOKE_TIMEOUT_PROPERTY
Name of property holding the invoke timeout in milliseconds. |
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
Constructor Summary | |
---|---|
EsbServiceInvokerAction(org.jboss.soa.esb.helpers.ConfigTree config)
Standard constructor. |
Method Summary | |
---|---|
long |
getInvokeTimeoutMillis()
|
String |
getServiceCategory()
|
org.jboss.soa.esb.client.ServiceInvoker |
getServiceInvoker()
First tries to get a previous WebServiceInvoker associated with the current thread. |
String |
getServiceName()
|
org.jboss.soa.esb.message.Message |
process(org.jboss.soa.esb.message.Message esbMessage)
|
Methods inherited from class com.legstar.cixs.jbossesb.AbstractLegStarAction |
---|
getConfig, getVersionProperties, traceVersion |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor |
---|
processException, processSuccess |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle |
---|
destroy, initialise |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.soa.esb.actions.ActionLifecycle |
---|
destroy, initialise |
Field Detail |
---|
public static final String ESB_SERVICE_NAME_PROPERTY
public static final String ESB_SERVICE_CATEGORY_NAME_PROPERTY
public static final String INVOKE_TIMEOUT_PROPERTY
public static final long DEFAULT_INVOKE_TIMEOUT_PROPERTY
Constructor Detail |
---|
public EsbServiceInvokerAction(org.jboss.soa.esb.helpers.ConfigTree config) throws org.jboss.soa.esb.ConfigurationException
config
- parameters setup in jboss-esb.xml
org.jboss.soa.esb.ConfigurationException
- if configuration parameters are invalidMethod Detail |
---|
public org.jboss.soa.esb.message.Message process(org.jboss.soa.esb.message.Message esbMessage) throws org.jboss.soa.esb.actions.ActionProcessingException
org.jboss.soa.esb.actions.ActionProcessingException
public long getInvokeTimeoutMillis()
public String getServiceName()
public String getServiceCategory()
public org.jboss.soa.esb.client.ServiceInvoker getServiceInvoker() throws org.jboss.soa.esb.listeners.message.MessageDeliverException
org.jboss.soa.esb.listeners.message.MessageDeliverException
- if service invoker cannot be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |