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:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<UnicastSendingMessageHandler>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class UdpMulticastOutboundChannelAdapterSpec extends AbstractUdpOutboundChannelAdapterSpec<UdpMulticastOutboundChannelAdapterSpec>
A
MessageHandlerSpec for
MulticastSendingMessageHandlers.- Since:
- 5.0
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedUdpMulticastOutboundChannelAdapterSpec(java.lang.String destinationExpression)protectedUdpMulticastOutboundChannelAdapterSpec(java.lang.String host, int port)protectedUdpMulticastOutboundChannelAdapterSpec(java.util.function.Function<org.springframework.messaging.Message<?>,?> destinationFunction) -
Method Summary
Modifier and Type Method Description UdpMulticastOutboundChannelAdapterSpectimeToLive(int timeToLive)Methods inherited from class org.springframework.integration.ip.dsl.AbstractUdpOutboundChannelAdapterSpec
ackCounter, configureSocket, lengthCheck, localAddress, socketExpression, socketFunction, soReceiveBufferSize, soSendBufferSize, soTimeoutMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
UdpMulticastOutboundChannelAdapterSpec
protected UdpMulticastOutboundChannelAdapterSpec(java.lang.String host, int port) -
UdpMulticastOutboundChannelAdapterSpec
protected UdpMulticastOutboundChannelAdapterSpec(java.lang.String destinationExpression) -
UdpMulticastOutboundChannelAdapterSpec
protected UdpMulticastOutboundChannelAdapterSpec(java.util.function.Function<org.springframework.messaging.Message<?>,?> destinationFunction)
-
-
Method Details
-
timeToLive
- Parameters:
timeToLive- the timeToLive.- Returns:
- the spec.
- See Also:
MulticastSendingMessageHandler.setTimeToLive(int)
-