public final class FilterEndpointSpec extends ConsumerEndpointSpec<FilterEndpointSpec,org.springframework.integration.filter.MessageFilter> implements ComponentsRegistration
ConsumerEndpointSpec
implementation for the MessageFilter
.id, logger, PARSER, target
Modifier and Type | Method and Description |
---|---|
FilterEndpointSpec |
discardChannel(org.springframework.messaging.MessageChannel discardChannel) |
FilterEndpointSpec |
discardChannel(java.lang.String discardChannelName) |
FilterEndpointSpec |
discardFlow(IntegrationFlow discardFlow)
Configure a subflow to run for discarded messages instead of a
discardChannel(MessageChannel) . |
FilterEndpointSpec |
discardWithinAdvice(boolean discardWithinAdvice) |
java.util.Collection<java.lang.Object> |
getComponentsToRegister() |
FilterEndpointSpec |
throwExceptionOnRejection(boolean throwExceptionOnRejection) |
advice, autoStartup, order, phase, poller, requiresReply, sendTimeout
doGet, id, poller, poller
_this, get, getId
public FilterEndpointSpec throwExceptionOnRejection(boolean throwExceptionOnRejection)
throwExceptionOnRejection
- the throwExceptionOnRejection.MessageFilter.setThrowExceptionOnRejection(boolean)
public FilterEndpointSpec discardChannel(org.springframework.messaging.MessageChannel discardChannel)
discardChannel
- the discardChannel.MessageFilter.setDiscardChannel(MessageChannel)
public FilterEndpointSpec discardChannel(java.lang.String discardChannelName)
discardChannelName
- the discardChannelName.MessageFilter.setDiscardChannelName(String)
public FilterEndpointSpec discardFlow(IntegrationFlow discardFlow)
discardChannel(MessageChannel)
.discardFlow
- the discard flow.public FilterEndpointSpec discardWithinAdvice(boolean discardWithinAdvice)
discardWithinAdvice
- the discardWithinAdvice.MessageFilter.setDiscardWithinAdvice(boolean)
public java.util.Collection<java.lang.Object> getComponentsToRegister()
getComponentsToRegister
in interface ComponentsRegistration