org.apache.servicemix.http.processors
Class ConsumerProcessor
java.lang.Object
org.apache.servicemix.http.processors.AbstractProcessor
org.apache.servicemix.http.processors.ConsumerProcessor
- All Implemented Interfaces:
- HttpProcessor, SoapExchangeProcessor
public class ConsumerProcessor
- extends AbstractProcessor
- implements SoapExchangeProcessor, HttpProcessor
|
Field Summary |
protected javax.jbi.messaging.DeliveryChannel |
channel
|
protected javax.jbi.component.ComponentContext |
context
|
protected java.util.Map<java.lang.String,javax.jbi.messaging.MessageExchange> |
exchanges
|
protected java.lang.Object |
httpContext
|
protected java.util.Map<java.lang.String,org.mortbay.util.ajax.Continuation> |
locks
|
protected SoapHelper |
soapHelper
|
protected boolean |
started
|
protected int |
suspentionTime
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpContext
protected java.lang.Object httpContext
context
protected javax.jbi.component.ComponentContext context
channel
protected javax.jbi.messaging.DeliveryChannel channel
soapHelper
protected SoapHelper soapHelper
locks
protected java.util.Map<java.lang.String,org.mortbay.util.ajax.Continuation> locks
exchanges
protected java.util.Map<java.lang.String,javax.jbi.messaging.MessageExchange> exchanges
suspentionTime
protected int suspentionTime
started
protected boolean started
ConsumerProcessor
public ConsumerProcessor(HttpEndpoint endpoint)
getSsl
public SslParameters getSsl()
- Specified by:
getSsl in interface HttpProcessor
getAuthMethod
public java.lang.String getAuthMethod()
- Specified by:
getAuthMethod in interface HttpProcessor
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Specified by:
process in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
init
public void init()
throws java.lang.Exception
- Specified by:
init in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
shutdown
public void shutdown()
throws java.lang.Exception
- Specified by:
shutdown in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
process
public void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Specified by:
process in interface HttpProcessor
- Throws:
java.lang.Exception
sendFault
protected void sendFault(SoapFault fault,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
getHeaders
protected java.util.Map<java.lang.String,java.lang.String> getHeaders(javax.servlet.http.HttpServletRequest request)
getServerManager
protected ContextManager getServerManager()
generateDocument
protected void generateDocument(javax.servlet.http.HttpServletResponse response,
org.w3c.dom.Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005-2012 FuseSource. All Rights Reserved.