org.apache.servicemix.http.processors
Class ConsumerProcessor

java.lang.Object
  extended by org.apache.servicemix.http.processors.AbstractProcessor
      extended by 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
           
 
Fields inherited from class org.apache.servicemix.http.processors.AbstractProcessor
endpoint, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_SOAP_ACTION
 
Constructor Summary
ConsumerProcessor(HttpEndpoint endpoint)
           
 
Method Summary
protected  void generateDocument(javax.servlet.http.HttpServletResponse response, org.w3c.dom.Node node)
           
 java.lang.String getAuthMethod()
           
protected  java.util.Map<java.lang.String,java.lang.String> getHeaders(javax.servlet.http.HttpServletRequest request)
           
protected  ContextManager getServerManager()
           
 SslParameters getSsl()
           
 void init()
           
 void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void process(javax.jbi.messaging.MessageExchange exchange)
           
protected  void sendFault(SoapFault fault, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void shutdown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.servicemix.http.processors.AbstractProcessor
getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ConsumerProcessor

public ConsumerProcessor(HttpEndpoint endpoint)
Method Detail

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.