org.apache.servicemix.jms.endpoints
Class JmsSoapProviderEndpoint

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.ProviderEndpoint
              extended by org.apache.servicemix.jms.endpoints.JmsProviderEndpoint
                  extended by org.apache.servicemix.jms.endpoints.JmsSoapProviderEndpoint
All Implemented Interfaces:
Endpoint, JmsEndpointType

public class JmsSoapProviderEndpoint
extends JmsProviderEndpoint

A Spring-based JMS provider optimized for SOAP messages

Since:
3.2
Author:
gnodet

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.servicemix.jms.endpoints.JmsProviderEndpoint
JmsProviderEndpoint.JmsTemplate102Util, JmsProviderEndpoint.JmsTemplateUtil
 
Field Summary
 
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
JmsSoapProviderEndpoint()
           
 
Method Summary
protected  JmsProviderMarshaler createDefaultMarshaler()
          Creates the default marshaler for the endpoint if no custom marshaler has been set
 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()
          Validate this endpoint.
protected  void validateWsdl1(JmsSoapProviderMarshaler marshaler)
           
protected  void validateWsdl2(JmsSoapProviderMarshaler marshaler)
           
 
Methods inherited from class org.apache.servicemix.jms.endpoints.JmsProviderEndpoint
activate, chooseDestination, createAndStartListener, createListenerContainer, createTemplate, deactivate, getConnectionFactory, getDeliveryMode, getDestination, getDestination, getDestinationChooser, getDestinationName, getDestinationResolver, getMarshaler, getPriority, getReceiveTimeout, getReplyDestination, getReplyDestinationChooser, getReplyDestinationName, getStore, getStoreFactory, getTimeToLive, isExplicitQosEnabled, isJms102, isMessageIdEnabled, isMessageTimestampEnabled, isPreserveMessageQos, isPubSubDomain, isPubSubNoLocal, onMessage, process, processInOnly, processInOnlyInSession, processInOut, processInOutInSession, setConnectionFactory, setDeliveryMode, setDestination, setDestinationChooser, setDestinationName, setDestinationResolver, setExplicitQosEnabled, setJms102, setMarshaler, setMessageIdEnabled, setMessageTimestampEnabled, setPreserveMessageQos, setPriority, setPubSubDomain, setPubSubNoLocal, setReceiveTimeout, setReplyDestination, setReplyDestinationChooser, setReplyDestinationName, setStore, setStoreFactory, setTimeToLive
 
Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint
getRole, processInOut
 
Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync, start, stop
 
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

JmsSoapProviderEndpoint

public JmsSoapProviderEndpoint()
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
Description copied from class: JmsProviderEndpoint
Validate this endpoint.

Specified by:
validate in interface Endpoint
Overrides:
validate in class JmsProviderEndpoint
Throws:
javax.jbi.management.DeploymentException

validateWsdl1

protected void validateWsdl1(JmsSoapProviderMarshaler marshaler)
                      throws javax.wsdl.WSDLException,
                             java.io.IOException,
                             javax.jbi.management.DeploymentException
Throws:
javax.wsdl.WSDLException
java.io.IOException
javax.jbi.management.DeploymentException

validateWsdl2

protected void validateWsdl2(JmsSoapProviderMarshaler marshaler)
                      throws org.apache.woden.WSDLException,
                             java.io.IOException,
                             javax.jbi.management.DeploymentException
Throws:
org.apache.woden.WSDLException
java.io.IOException
javax.jbi.management.DeploymentException

createDefaultMarshaler

protected JmsProviderMarshaler createDefaultMarshaler()
Description copied from class: JmsProviderEndpoint
Creates the default marshaler for the endpoint if no custom marshaler has been set

Overrides:
createDefaultMarshaler in class JmsProviderEndpoint
Returns:
the default marshaler implementation


Copyright © 2005-2014 FuseSource. All Rights Reserved.