public class CamelEndpointMapping extends org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping implements org.springframework.beans.factory.InitializingBean, CamelSpringWSEndpointMapping, org.springframework.ws.soap.server.SoapEndpointMapping
EndpointMapping
for mapping messages to corresponding Camel
endpoints. This class needs to be registered in the Spring
ApplicationContext when consuming messages using any of the
following URI schemes:
PayloadRootQNameEndpointMapping
org.springframework.ws.soap.server.endpoint.mapping.SoapActionEndpointMapping
UriEndpointMapping
XPathPayloadEndpointMapping
AbstractEndpointMapping
,
PayloadRootQNameEndpointMapping
,
UriEndpointMapping
,
XPathPayloadEndpointMapping
,
org.springframework.ws.soap.server.endpoint.mapping.SoapActionEndpointMapping
Constructor and Description |
---|
CamelEndpointMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addConsumer(EndpointMappingKey key,
org.springframework.ws.server.endpoint.MessageEndpoint endpoint)
Used by Camel Spring Web Services endpoint to register consumers
|
void |
afterPropertiesSet() |
protected org.springframework.ws.server.EndpointInvocationChain |
createEndpointInvocationChain(org.springframework.ws.context.MessageContext messageContext,
Object endpoint,
org.springframework.ws.server.EndpointInterceptor[] interceptors) |
protected Object |
getEndpointInternal(org.springframework.ws.context.MessageContext messageContext) |
TransformerFactory |
getTransformerFactory()
Gets the configured TransformerFactory
|
void |
removeConsumer(Object key)
Used by Camel Spring Web Services endpoint to unregister consumers
|
void |
setActorOrRole(String actorOrRole) |
void |
setActorsOrRoles(String[] actorsOrRoles) |
void |
setTransformerFactory(TransformerFactory transformerFactory)
Optional setter to override default TransformerFactory
|
void |
setUltimateReceiver(boolean ultimateReceiver) |
getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initApplicationContext, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrder
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
protected Object getEndpointInternal(org.springframework.ws.context.MessageContext messageContext) throws Exception
getEndpointInternal
in class org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
Exception
protected final org.springframework.ws.server.EndpointInvocationChain createEndpointInvocationChain(org.springframework.ws.context.MessageContext messageContext, Object endpoint, org.springframework.ws.server.EndpointInterceptor[] interceptors)
createEndpointInvocationChain
in class org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
public void addConsumer(EndpointMappingKey key, org.springframework.ws.server.endpoint.MessageEndpoint endpoint)
addConsumer
in interface CamelSpringWSEndpointMapping
key
- unique consumer keyendpoint
- consumerpublic void removeConsumer(Object key)
removeConsumer
in interface CamelSpringWSEndpointMapping
key
- unique consumer keypublic TransformerFactory getTransformerFactory()
public void setTransformerFactory(TransformerFactory transformerFactory)
transformerFactory
- non-default TransformerFactorypublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public final void setActorOrRole(String actorOrRole)
setActorOrRole
in interface org.springframework.ws.soap.server.SoapEndpointMapping
actorOrRole
- AbstractAddressingEndpointMapping}
public final void setActorsOrRoles(String[] actorsOrRoles)
setActorsOrRoles
in interface org.springframework.ws.soap.server.SoapEndpointMapping
actorsOrRoles
- AbstractAddressingEndpointMapping}
public final void setUltimateReceiver(boolean ultimateReceiver)
setUltimateReceiver
in interface org.springframework.ws.soap.server.SoapEndpointMapping
ultimateReceiver
- AbstractAddressingEndpointMapping}
Apache Camel