org.apache.servicemix.jms.endpoints
Class JmsSoapConsumerEndpoint

java.lang.Object
  extended by org.apache.servicemix.common.endpoints.AbstractEndpoint
      extended by org.apache.servicemix.common.endpoints.SimpleEndpoint
          extended by org.apache.servicemix.common.endpoints.ConsumerEndpoint
              extended by org.apache.servicemix.jms.endpoints.AbstractConsumerEndpoint
                  extended by org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint
                      extended by org.apache.servicemix.jms.endpoints.JmsSoapConsumerEndpoint
All Implemented Interfaces:
Endpoint, JmsEndpointType

public class JmsSoapConsumerEndpoint
extends JmsConsumerEndpoint

A Spring-based JMS consumer optimized for handling SOAP messages

Since:
3.2
Author:
gnodet

Field Summary
 
Fields inherited from class org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint
LISTENER_TYPE_DEFAULT, LISTENER_TYPE_SIMPLE, TRANSACTED_JMS, TRANSACTED_NONE, TRANSACTED_XA
 
Fields inherited from class org.apache.servicemix.jms.endpoints.AbstractConsumerEndpoint
PROP_JMS_CONTEXT
 
Fields inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint
logger
 
Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
definition, description, endpoint, interfaceName, service, serviceUnit
 
Constructor Summary
JmsSoapConsumerEndpoint()
           
JmsSoapConsumerEndpoint(DefaultComponent component, javax.jbi.servicedesc.ServiceEndpoint endpoint)
           
JmsSoapConsumerEndpoint(ServiceUnit serviceUnit, javax.xml.namespace.QName service, java.lang.String endpoint)
           
 
Method Summary
 Policy[] getPolicies()
           
 org.springframework.core.io.Resource getWsdl()
           
 boolean isUseJbiWrapper()
           
 boolean isValidateWsdl()
           
 void setPolicies(Policy[] policies)
          Specifies an array of interceptors used to process SOAP messages.
 void setUseJbiWrapper(boolean useJbiWrapper)
          Specifies if the endpoint expects SOAP messages to be wrapped in the JBI wrapper.
 void setValidateWsdl(boolean validateWsdl)
          Specifies if the WSDL is checked WSI-BP compliance.
 void setWsdl(org.springframework.core.io.Resource wsdl)
          Specifies the WSDL document describing the service's interface.
 void validate()
           
 
Methods inherited from class org.apache.servicemix.jms.endpoints.JmsConsumerEndpoint
activate, createListenerContainer, deactivate, getCacheLevel, getClientId, getConcurrentConsumers, getDestination, getDestinationName, getDurableSubscriptionName, getExceptionListener, getIdleTaskExecutionLimit, getListenerType, getLocationURI, getMaxConcurrentConsumers, getMaxMessagesPerTask, getMessageSelector, getReceiveTimeout, getRecoveryInterval, getSessionAcknowledgeMode, getTransacted, isPubSubNoLocal, isSubscriptionDurable, setCacheLevel, setClientId, setConcurrentConsumers, setDestination, setDestinationName, setDurableSubscriptionName, setExceptionListener, setIdleTaskExecutionLimit, setListenerType, setMaxConcurrentConsumers, setMaxMessagesPerTask, setMessageSelector, setPubSubNoLocal, setReceiveTimeout, setRecoveryInterval, setSessionAcknowledgeMode, setSubscriptionDurable, setTransacted, start, stop
 
Methods inherited from class org.apache.servicemix.jms.endpoints.AbstractConsumerEndpoint
getConnectionFactory, getDestinationChooser, getDestinationResolver, getMarshaler, getReplyDeliveryMode, getReplyDestination, getReplyDestination, getReplyDestinationName, getReplyPriority, getReplyProperties, getReplyTimeToLive, getStore, getStoreFactory, getUseMessageIdInResponse, handleException, isJms102, isPubSubDomain, isReplyExplicitQosEnabled, isStateless, isSynchronous, onMessage, process, processExchange, send, sendError, setConnectionFactory, setCorrelationId, setDestinationChooser, setDestinationResolver, setJms102, setMarshaler, setPubSubDomain, setReplyDeliveryMode, setReplyDestination, setReplyDestinationName, setReplyExplicitQosEnabled, setReplyPriority, setReplyProperties, setReplyTimeToLive, setStateless, setStore, setStoreFactory, setSynchronous, setUseMessageIdInResponse, treatExceptionAsFault
 
Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri
 
Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync
 
Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmsSoapConsumerEndpoint

public JmsSoapConsumerEndpoint()

JmsSoapConsumerEndpoint

public JmsSoapConsumerEndpoint(DefaultComponent component,
                               javax.jbi.servicedesc.ServiceEndpoint endpoint)

JmsSoapConsumerEndpoint

public JmsSoapConsumerEndpoint(ServiceUnit serviceUnit,
                               javax.xml.namespace.QName service,
                               java.lang.String endpoint)
Method Detail

getWsdl

public org.springframework.core.io.Resource getWsdl()

setWsdl

public void setWsdl(org.springframework.core.io.Resource wsdl)
Specifies the WSDL document describing the service's interface.

Parameters:
wsdl - a Resource containing the WSDL

isValidateWsdl

public boolean isValidateWsdl()

setValidateWsdl

public void setValidateWsdl(boolean validateWsdl)
Specifies if the WSDL is checked WSI-BP compliance. Defaults to true.

Parameters:
validateWsdl - the WSDL is validated?

isUseJbiWrapper

public boolean isUseJbiWrapper()

setUseJbiWrapper

public void setUseJbiWrapper(boolean useJbiWrapper)
Specifies if the endpoint expects SOAP messages to be wrapped in the JBI wrapper. Defaults to true.

Parameters:
useJbiWrapper - the endpoint expects the JBI wrapper?

getPolicies

public Policy[] getPolicies()

setPolicies

public void setPolicies(Policy[] policies)
Specifies an array of interceptors used to process SOAP messages.

Parameters:
policies - the array of interceptors

validate

public void validate()
              throws javax.jbi.management.DeploymentException
Specified by:
validate in interface Endpoint
Overrides:
validate in class JmsConsumerEndpoint
Throws:
javax.jbi.management.DeploymentException


Copyright © 2005-2014 FuseSource. All Rights Reserved.