public interface IntegrationManagement extends NamedComponent, DisposableBean
Modifier and Type | Interface and Description |
---|---|
static class |
IntegrationManagement.ManagementOverrides
Toggles to inform the management configurer to not set these properties since
the user has manually configured them in a bean definition.
|
Modifier and Type | Field and Description |
---|---|
static String |
METER_PREFIX |
static String |
RECEIVE_COUNTER_NAME |
static String |
SEND_TIMER_NAME |
Modifier and Type | Method and Description |
---|---|
default void |
destroy() |
default String |
getManagedName() |
default String |
getManagedType() |
default IntegrationManagement.ManagementOverrides |
getOverrides()
Return the overrides.
|
default <T> T |
getThisAs()
Return this
IntegrationManagement as its concrete type. |
default boolean |
isLoggingEnabled()
Return whether logging is enabled.
|
default void |
registerMetricsCaptor(MetricsCaptor captor)
Inject a
MetricsCaptor |
default void |
setLoggingEnabled(boolean enabled)
Enable logging or not.
|
default void |
setManagedName(String managedName) |
default void |
setManagedType(String managedType) |
getBeanName, getComponentName, getComponentType
static final String METER_PREFIX
static final String SEND_TIMER_NAME
static final String RECEIVE_COUNTER_NAME
@ManagedAttribute(description="Use to disable debug logging during normal message flow") default void setLoggingEnabled(boolean enabled)
enabled
- dalse to disable.@ManagedAttribute default boolean isLoggingEnabled()
default void setManagedName(String managedName)
default String getManagedName()
default void setManagedType(String managedType)
default String getManagedType()
@Nullable default IntegrationManagement.ManagementOverrides getOverrides()
default void registerMetricsCaptor(MetricsCaptor captor)
MetricsCaptor
captor
- the captor.default void destroy()
destroy
in interface DisposableBean
default <T> T getThisAs()
IntegrationManagement
as its concrete type.T
- the type.