@IntegrationManagedResource public class NullChannel extends java.lang.Object implements org.springframework.messaging.PollableChannel, org.springframework.beans.factory.BeanNameAware, IntegrationManagement, IntegrationPattern
IntegrationManagement.ManagementOverridesMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
NullChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.lang.String |
getBeanName() |
java.lang.String |
getComponentName() |
java.lang.String |
getComponentType() |
IntegrationPatternType |
getIntegrationPatternType()
Return a pattern type this component implements.
|
IntegrationManagement.ManagementOverrides |
getOverrides()
Return the overrides.
|
boolean |
isLoggingEnabled()
Return whether logging is enabled.
|
org.springframework.messaging.Message<?> |
receive() |
org.springframework.messaging.Message<?> |
receive(long timeout) |
void |
registerMetricsCaptor(MetricsCaptor registry)
Inject a
MetricsCaptor |
boolean |
send(org.springframework.messaging.Message<?> message) |
boolean |
send(org.springframework.messaging.Message<?> message,
long timeout) |
void |
setBeanName(java.lang.String beanName) |
void |
setLoggingEnabled(boolean loggingEnabled)
Enable logging or not.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetManagedName, getManagedType, getThisAs, setManagedName, setManagedTypepublic void setBeanName(java.lang.String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic boolean isLoggingEnabled()
IntegrationManagementisLoggingEnabled in interface IntegrationManagementpublic void setLoggingEnabled(boolean loggingEnabled)
IntegrationManagementsetLoggingEnabled in interface IntegrationManagementloggingEnabled - dalse to disable.@Nullable public java.lang.String getBeanName()
getBeanName in interface NamedComponent@Nullable public java.lang.String getComponentName()
getComponentName in interface NamedComponentpublic java.lang.String getComponentType()
getComponentType in interface NamedComponentpublic IntegrationPatternType getIntegrationPatternType()
IntegrationPatterngetIntegrationPatternType in interface IntegrationPatternIntegrationPatternType this component implements.public void registerMetricsCaptor(MetricsCaptor registry)
IntegrationManagementMetricsCaptorregisterMetricsCaptor in interface IntegrationManagementregistry - the captor.public IntegrationManagement.ManagementOverrides getOverrides()
IntegrationManagementgetOverrides in interface IntegrationManagementpublic boolean send(org.springframework.messaging.Message<?> message,
long timeout)
send in interface org.springframework.messaging.MessageChannelpublic boolean send(org.springframework.messaging.Message<?> message)
send in interface org.springframework.messaging.MessageChannelpublic org.springframework.messaging.Message<?> receive()
receive in interface org.springframework.messaging.PollableChannelpublic org.springframework.messaging.Message<?> receive(long timeout)
receive in interface org.springframework.messaging.PollableChannelpublic java.lang.String toString()
toString in class java.lang.Objectpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in interface IntegrationManagement