public class ExecEndpoint extends ProviderEndpoint
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_WSDL |
loggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
ExecEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommand() |
ExecMarshalerSupport |
getMarshaler() |
org.springframework.core.io.Resource |
getWsdl() |
protected void |
handleProviderExchange(javax.jbi.messaging.MessageExchange exchange)
Handles on the message exchange (provider role).
|
protected org.w3c.dom.Document |
parse(java.io.InputStream is) |
void |
process(javax.jbi.messaging.MessageExchange exchange) |
void |
setCommand(java.lang.String command)
This attribute specifies the default command to use if no is provided in
the incoming message.
|
void |
setMarshaler(ExecMarshalerSupport marshaler)
With this method you can specify a marshaler class which provides the
logic for converting a message into a execution command.
|
void |
setWsdl(org.springframework.core.io.Resource wsdl)
This attribute specifies the abstract WSDL describing the endpoint behavior.
|
void |
validate() |
activate, deactivate, getRole, processInOnly, processInOutdone, fail, getChannel, getContext, getExchangeFactory, send, sendSync, start, stopgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic static final java.lang.String DEFAULT_WSDL
public java.lang.String getCommand()
public void setCommand(java.lang.String command)
This attribute specifies the default command to use if no is provided in the incoming message.
The default value isnull.command - public ExecMarshalerSupport getMarshaler()
public org.springframework.core.io.Resource getWsdl()
public void setWsdl(org.springframework.core.io.Resource wsdl)
This attribute specifies the abstract WSDL describing the endpoint behavior.
wsdl - the WSDL Resource.public void setMarshaler(ExecMarshalerSupport marshaler)
With this method you can specify a marshaler class which provides the
logic for converting a message into a execution command. This class has
to implement the interface class ExecMarshalerSupport. If
you don't specify a marshaler, the DefaultExecMarshaler will
be used.
marshaler - a ExecMarshalerSupport class representing the
marshaler.public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractEndpointjavax.jbi.management.DeploymentExceptionprotected org.w3c.dom.Document parse(java.io.InputStream is)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionpublic void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class ProviderEndpointjava.lang.Exceptionprotected void handleProviderExchange(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
Handles on the message exchange (provider role).
exchange - the MessageExchange.java.lang.ExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.