| java.lang.Object com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbProviderProcessor
All known Subclasses: com.bostechcorp.cbesb.runtime.component.sequencing.processors.SequencingProviderProcessor, com.bostechcorp.cbesb.runtime.component.parser.processors.ParserProviderProcessor, com.bostechcorp.cbesb.runtime.component.script.processors.ScriptProviderProcessor, com.bostechcorp.cbesb.runtime.component.ftp.processors.FtpProviderProcessor, com.bostechcorp.cbesb.runtime.component.jdbc.processors.JdbcProviderProcessor, com.bostechcorp.cbesb.runtime.component.email.processors.EmailProviderProcessor, com.bostech.corporation.component.echo.processors.EchoProviderProcessor, com.bostechcorp.cbesb.runtime.component.http.processors.SoapProviderProcessor, com.bostechcorp.cbesb.runtime.component.tcpip.processors.ProviderProcessor, com.bostechcorp.cbesb.runtime.component.http.processors.HttpProviderProcessor, com.bostechcorp.cbesb.runtime.component.jms.processors.ProviderProcessor, com.bostechcorp.cbesb.runtime.component.file.processors.FileProviderProcessor, com.bostechcorp.cbesb.runtime.component.xslt.processors.XsltProviderProcessor, com.bostechcorp.cbesb.runtime.component.transformer.processors.TransformerProviderProcessor, com.bostech.corporation.component.x12splitter.processors.X12SplitterProviderProcessor, com.bostechcorp.cbesb.runtime.component.cbr.processors.CBRProviderProcessor,
CbProviderProcessor | abstract public class CbProviderProcessor implements IComponentProcessor(Code) | | The abtract provider processor class for ChainBuilder ESB components. It provides the base functions for
provider processor for provider endpoint in JBI component. It use JBI API to implement the JBI Message Exchange
Pattern; The component developer should extend this class and provides implementation for
abstacrt methods processInMessage() and processInOutMessage()
It hides the great complexity of JBI Spec and API from component developers.
author: elu |
Method Summary | |
protected void | doStart() Nothing to be done for Provider Endpoint. | protected void | doStop() Nothing to be done for Provider Endpoint. | public EndpointProcessor | getEndpoint() | protected ServiceDescriptionHandler | getProviderSvcDescHandlerInstance() | public void | process(Object message) Nothing to be done for Provider Endpoint. | abstract protected void | processInMessage(QName service, QName operation, NormalizedMessage in, MessageExchange exchange) Process the In message (InOnly or RobustInOnly).The child class needs to provide implementation. | public void | processInOnly(MessageExchange exchange) Process the InOnly MessageExchange. | public void | processInOut(MessageExchange exchange, boolean optional) Process the InOut and In OptionalOut MessageExchange Pattern. | abstract protected boolean | processInOutMessage(QName service, QName operation, NormalizedMessage in, NormalizedMessage out, boolean optionalOut, MessageExchange exchange) Process the InOut message (InOut or InOptionalOut).The child class needs to provide
implementation. | public void | processRobustInOnly(MessageExchange exchange) Process the RobustInOnly MessageExchange. | public void | setEndpoint(EndpointProcessor endpoint) | public void | start() Nothing to be done for Provider Endpoint. | public void | stop() Nothing to be done for Provider Endpoint. |
logger | final protected transient Log logger(Code) | | |
CbProviderProcessor | public CbProviderProcessor(EndpointProcessor endpoint)(Code) | | Constructor.
Parameters: endpoint - |
doStart | protected void doStart() throws Exception(Code) | | Nothing to be done for Provider Endpoint.
|
doStop | protected void doStop() throws Exception(Code) | | Nothing to be done for Provider Endpoint.
|
process | public void process(Object message) throws Exception(Code) | | Nothing to be done for Provider Endpoint.
|
processInMessage | abstract protected void processInMessage(QName service, QName operation, NormalizedMessage in, MessageExchange exchange) throws Exception(Code) | | Process the In message (InOnly or RobustInOnly).The child class needs to provide implementation.
Parameters: service - Parameters: operation - Parameters: in - throws: Exception - if RobustInOnly, a Fault will be generated with the exception |
processInOnly | public void processInOnly(MessageExchange exchange) throws MessagingException(Code) | | Process the InOnly MessageExchange. Refer to Page 31 in the JBI spec.
|
processInOut | public void processInOut(MessageExchange exchange, boolean optional) throws MessagingException(Code) | | Process the InOut and In OptionalOut MessageExchange Pattern. Refer to Page 32/33 in the JBI spec.
|
processInOutMessage | abstract protected boolean processInOutMessage(QName service, QName operation, NormalizedMessage in, NormalizedMessage out, boolean optionalOut, MessageExchange exchange) throws Exception(Code) | | Process the InOut message (InOut or InOptionalOut).The child class needs to provide
implementation.
Parameters: service - Parameters: operation - Parameters: in - Parameters: out - the out message on which the response has to be set Parameters: optionalOut - the response is optional or not true if the out response has been set (correspond to the'optionalOut' notion); false if the a Fault is occured in InOut pattern; throws: Exception - a Fault will be generated with the exception, the "out" willnot be treated |
processRobustInOnly | public void processRobustInOnly(MessageExchange exchange) throws MessagingException(Code) | | Process the RobustInOnly MessageExchange. Refer to Page 32 in the JBI spec.
|
start | public void start() throws Exception(Code) | | Nothing to be done for Provider Endpoint.
|
stop | public void stop() throws Exception(Code) | | Nothing to be done for Provider Endpoint.
|
|
|