Class UdpMulticastOutboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageHandlerSpec<S,UnicastSendingMessageHandler>
org.springframework.integration.ip.dsl.AbstractUdpOutboundChannelAdapterSpec<UdpMulticastOutboundChannelAdapterSpec>
org.springframework.integration.ip.dsl.UdpMulticastOutboundChannelAdapterSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<UnicastSendingMessageHandler>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class UdpMulticastOutboundChannelAdapterSpec extends AbstractUdpOutboundChannelAdapterSpec<UdpMulticastOutboundChannelAdapterSpec>
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
UdpMulticastOutboundChannelAdapterSpec(String destinationExpression)
protected
UdpMulticastOutboundChannelAdapterSpec(String host, int port)
protected
UdpMulticastOutboundChannelAdapterSpec(Function<Message<?>,?> destinationFunction)
-
Method Summary
Modifier and Type Method Description UdpMulticastOutboundChannelAdapterSpec
timeToLive(int timeToLive)
Methods inherited from class org.springframework.integration.ip.dsl.AbstractUdpOutboundChannelAdapterSpec
ackCounter, configureSocket, lengthCheck, localAddress, socketExpression, socketFunction, soReceiveBufferSize, soSendBufferSize, soTimeout
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
Method Details
-
timeToLive
- Parameters:
timeToLive
- the timeToLive.- Returns:
- the spec.
- See Also:
MulticastSendingMessageHandler.setTimeToLive(int)
-