Class MarshallingWebServiceInboundGateway
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.MessagingGatewaySupport
org.springframework.integration.ws.AbstractWebServiceInboundGateway
org.springframework.integration.ws.MarshallingWebServiceInboundGateway
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- BeanNameAware,- DisposableBean,- InitializingBean,- ApplicationContextAware,- Lifecycle,- Phased,- SmartLifecycle,- ExpressionCapable,- OrderlyShutdownCapable,- IntegrationPattern,- NamedComponent,- IntegrationInboundManagement,- IntegrationManagement,- ManageableLifecycle,- ManageableSmartLifecycle,- TrackableComponent,- MessageEndpoint
- Since:
- 1.0.2
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.integration.gateway.MessagingGatewaySupportMessagingGatewaySupport.ConvertingMessagingTemplateNested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagementIntegrationManagement.ManagementOverrides
- 
Field SummaryFields inherited from class org.springframework.integration.gateway.MessagingGatewaySupportmessagingTemplateFields inherited from class org.springframework.integration.endpoint.AbstractEndpointlifecycleCondition, lifecycleLockFields inherited from class org.springframework.integration.context.IntegrationObjectSupportEXPRESSION_PARSER, loggerFields inherited from interface org.springframework.integration.support.management.IntegrationManagementMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a newMarshallingWebServiceInboundGateway.MarshallingWebServiceInboundGateway(Marshaller marshaller) Creates a newMarshallingWebServiceInboundGatewaywith the given marshaller.MarshallingWebServiceInboundGateway(Marshaller marshaller, Unmarshaller unmarshaller) Creates a newMarshallingWebServiceInboundGatewaywith the given marshaller and unmarshaller.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoInvoke(MessageContext messageContext) protected voidonInit()Subclasses may implement this for initialization logic.voidsetMarshaller(Marshaller marshaller) voidsetUnmarshaller(Unmarshaller unmarshaller) Methods inherited from class org.springframework.integration.ws.AbstractWebServiceInboundGatewayafterShutdown, beforeShutdown, fromSoapHeaders, getComponentType, getHeaderMapper, invoke, setHeaderMapper, toSoapHeadersMethods inherited from class org.springframework.integration.gateway.MessagingGatewaySupportbuildErrorMessage, buildSendTimer, destroy, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getErrorMessageStrategy, getIntegrationPatternType, getManagedName, getManagedType, getOverrides, getReplyChannel, getRequestChannel, isLoggingEnabled, isObserved, receive, receive, receiveMessage, receiveMessage, registerMetricsCaptor, registerObservationRegistry, registerReplyMessageCorrelatorIfNecessary, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, sendTimer, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setObservationConvention, setReceiverObservationConvention, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannel, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrackMethods inherited from class org.springframework.integration.endpoint.AbstractEndpointdoStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopMethods inherited from class org.springframework.integration.context.IntegrationObjectSupportafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.integration.support.management.IntegrationManagementgetThisAsMethods inherited from interface org.springframework.integration.support.context.NamedComponentgetBeanName, getComponentName
- 
Constructor Details- 
MarshallingWebServiceInboundGatewaypublic MarshallingWebServiceInboundGateway()Creates a newMarshallingWebServiceInboundGateway. TheMarshallerandUnmarshallermust be injected using properties.
- 
MarshallingWebServiceInboundGatewayCreates a newMarshallingWebServiceInboundGatewaywith the given marshaller. The Marshaller must also implementUnmarshaller, since it is used for both marshalling and unmarshalling.Note that all Marshallerimplementations in Spring-OXM also implement theUnmarshallerinterface, so you can safely use this constructor for any of those implementations.- Parameters:
- marshaller- object used as marshaller and unmarshaller
- Throws:
- IllegalArgumentException- when- marshallerdoes not implement- Unmarshaller
- See Also:
 
- 
MarshallingWebServiceInboundGatewayCreates a newMarshallingWebServiceInboundGatewaywith the given marshaller and unmarshaller.- Parameters:
- marshaller- The marshaller.
- unmarshaller- The unmarshaller.
 
 
- 
- 
Method Details- 
setMarshaller
- 
setUnmarshaller
- 
onInitprotected void onInit()Description copied from class:IntegrationObjectSupportSubclasses may implement this for initialization logic.- Overrides:
- onInitin class- MessagingGatewaySupport
 
- 
doInvoke- Specified by:
- doInvokein class- AbstractWebServiceInboundGateway
- Throws:
- IOException
 
 
-