Class UdpInboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,P>
org.springframework.integration.dsl.MessageProducerSpec<UdpInboundChannelAdapterSpec,UnicastReceivingChannelAdapter>
org.springframework.integration.ip.dsl.UdpInboundChannelAdapterSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<UnicastReceivingChannelAdapter>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class UdpInboundChannelAdapterSpec extends MessageProducerSpec<UdpInboundChannelAdapterSpec,UnicastReceivingChannelAdapter>
- Since:
- 5.0
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
UdpInboundChannelAdapterSpec(int port)
protected
UdpInboundChannelAdapterSpec(int port, String multicastGroup)
-
Method Summary
Modifier and Type Method Description UdpInboundChannelAdapterSpec
configureSocket(SocketCustomizer customizer)
Configure the socket.UdpInboundChannelAdapterSpec
lengthCheck(boolean lengthCheck)
UdpInboundChannelAdapterSpec
localAddress(String localAddress)
UdpInboundChannelAdapterSpec
lookupHost(boolean lookupHost)
UdpInboundChannelAdapterSpec
poolSize(int poolSize)
UdpInboundChannelAdapterSpec
receiveBufferSize(int receiveBufferSize)
UdpInboundChannelAdapterSpec
socket(DatagramSocket socket)
UdpInboundChannelAdapterSpec
soReceiveBufferSize(int soReceiveBufferSize)
UdpInboundChannelAdapterSpec
soSendBufferSize(int soSendBufferSize)
UdpInboundChannelAdapterSpec
soTimeout(int soTimeout)
UdpInboundChannelAdapterSpec
taskExecutor(Executor taskExecutor)
UdpInboundChannelAdapterSpec
taskScheduler(TaskScheduler taskScheduler)
Methods inherited from class org.springframework.integration.dsl.MessageProducerSpec
autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, outputChannel, outputChannel, phase, sendTimeout, shouldTrack
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, 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
-
UdpInboundChannelAdapterSpec
protected UdpInboundChannelAdapterSpec(int port) -
UdpInboundChannelAdapterSpec
-
-
Method Details
-
soTimeout
- Parameters:
soTimeout
- set the timeout socket option.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setSoTimeout(int)
-
taskScheduler
- Parameters:
taskScheduler
- set the task scheduler.- Returns:
- the spec.
- See Also:
IntegrationObjectSupport.setTaskScheduler(TaskScheduler)
-
soReceiveBufferSize
- Parameters:
soReceiveBufferSize
- set the receive buffer size socket option.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setSoReceiveBufferSize(int)
-
receiveBufferSize
- Parameters:
receiveBufferSize
- set the receive buffer size.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setReceiveBufferSize(int)
-
lengthCheck
- Parameters:
lengthCheck
- set the length check boolean.- Returns:
- the spec.
- See Also:
UnicastReceivingChannelAdapter.setLengthCheck(boolean)
-
localAddress
- Parameters:
localAddress
- set the local address.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setLocalAddress(String)
-
poolSize
- Parameters:
poolSize
- set the pool size.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setPoolSize(int)
-
taskExecutor
- Parameters:
taskExecutor
- set the task executor.- Returns:
- the spec.
- See Also:
AbstractInternetProtocolReceivingChannelAdapter.setTaskExecutor(Executor)
-
socket
- Parameters:
socket
- set the socket.- Returns:
- the spec.
- See Also:
UnicastReceivingChannelAdapter.setSocket(DatagramSocket)
-
soSendBufferSize
- Parameters:
soSendBufferSize
- set the send buffer size socket option.- Returns:
- the spec.
- See Also:
UnicastReceivingChannelAdapter.setSoSendBufferSize(int)
-
lookupHost
- Parameters:
lookupHost
- set true to reverse lookup the host.- Returns:
- the spec.
- See Also:
UnicastReceivingChannelAdapter.setLookupHost(boolean)
-
configureSocket
Configure the socket.- Parameters:
customizer
- the customizer.- Returns:
- the spec.
- Since:
- 5.3.3
-