Class UdpInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<UdpInboundChannelAdapterSpec, UnicastReceivingChannelAdapter>
org.springframework.integration.dsl.MessageProducerSpec<UdpInboundChannelAdapterSpec, UnicastReceivingChannelAdapter>
org.springframework.integration.ip.dsl.UdpInboundChannelAdapterSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<UnicastReceivingChannelAdapter>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle
public class UdpInboundChannelAdapterSpec
extends MessageProducerSpec<UdpInboundChannelAdapterSpec, UnicastReceivingChannelAdapter>
- Since:
- 5.0
- Author:
- Gary Russell
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedUdpInboundChannelAdapterSpec(int port) protectedUdpInboundChannelAdapterSpec(int port, String multicastGroup) 
- 
Method SummaryModifier and TypeMethodDescriptionconfigureSocket(SocketCustomizer customizer) Configure the socket.lengthCheck(boolean lengthCheck) localAddress(String localAddress) lookupHost(boolean lookupHost) poolSize(int poolSize) receiveBufferSize(int receiveBufferSize) socket(DatagramSocket socket) soReceiveBufferSize(int soReceiveBufferSize) soSendBufferSize(int soSendBufferSize) soTimeout(int soTimeout) taskExecutor(Executor taskExecutor) taskScheduler(TaskScheduler taskScheduler) Methods inherited from class org.springframework.integration.dsl.MessageProducerSpecautoStartup, errorChannel, errorChannel, errorMessageStrategy, id, observationConvention, outputChannel, outputChannel, phase, role, sendTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
UdpInboundChannelAdapterSpecprotected UdpInboundChannelAdapterSpec(int port) 
- 
UdpInboundChannelAdapterSpec
 
- 
- 
Method Details- 
soTimeout- Parameters:
- soTimeout- set the timeout socket option, in milliseconds.
- Returns:
- the spec.
- See Also:
 
- 
taskScheduler- Parameters:
- taskScheduler- set the task scheduler.
- Returns:
- the spec.
- See Also:
 
- 
soReceiveBufferSize- Parameters:
- soReceiveBufferSize- set the receive buffer size socket option.
- Returns:
- the spec.
- See Also:
 
- 
receiveBufferSize- Parameters:
- receiveBufferSize- set the receive buffer size.
- Returns:
- the spec.
- See Also:
 
- 
lengthCheck- Parameters:
- lengthCheck- set the length check boolean.
- Returns:
- the spec.
- See Also:
 
- 
localAddress- Parameters:
- localAddress- set the local address.
- Returns:
- the spec.
- See Also:
 
- 
poolSize- Parameters:
- poolSize- set the pool size.
- Returns:
- the spec.
- See Also:
 
- 
taskExecutor- Parameters:
- taskExecutor- set the task executor.
- Returns:
- the spec.
- See Also:
 
- 
socket- Parameters:
- socket- set the socket.
- Returns:
- the spec.
- See Also:
 
- 
soSendBufferSize- Parameters:
- soSendBufferSize- set the send buffer size socket option.
- Returns:
- the spec.
- See Also:
 
- 
lookupHost- Parameters:
- lookupHost- set true to reverse lookup the host.
- Returns:
- the spec.
- See Also:
 
- 
configureSocketConfigure the socket.- Parameters:
- customizer- the customizer.
- Returns:
- the spec.
- Since:
- 5.3.3
 
 
-