public class Binding
extends java.lang.Object
implements org.springframework.context.Lifecycle
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSUMER |
static java.lang.String |
DIRECT |
static java.lang.String |
PRODUCER |
Modifier and Type | Method and Description |
---|---|
static Binding |
forConsumer(java.lang.String name,
org.springframework.integration.endpoint.AbstractEndpoint adapterFromBus,
org.springframework.messaging.MessageChannel moduleInputChannel,
AbstractBusPropertiesAccessor properties) |
static Binding |
forDirectProducer(java.lang.String name,
org.springframework.messaging.MessageChannel moduleOutputChannel,
org.springframework.integration.endpoint.AbstractEndpoint adapter,
AbstractBusPropertiesAccessor properties) |
static Binding |
forProducer(java.lang.String name,
org.springframework.messaging.MessageChannel moduleOutputChannel,
org.springframework.integration.endpoint.AbstractEndpoint adapterToBus,
AbstractBusPropertiesAccessor properties) |
org.springframework.messaging.MessageChannel |
getChannel() |
org.springframework.integration.endpoint.AbstractEndpoint |
getEndpoint() |
java.lang.String |
getName() |
AbstractBusPropertiesAccessor |
getPropertiesAccessor() |
java.lang.String |
getType() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
java.lang.String |
toString() |
public static final java.lang.String PRODUCER
public static final java.lang.String CONSUMER
public static final java.lang.String DIRECT
public static Binding forConsumer(java.lang.String name, org.springframework.integration.endpoint.AbstractEndpoint adapterFromBus, org.springframework.messaging.MessageChannel moduleInputChannel, AbstractBusPropertiesAccessor properties)
public static Binding forProducer(java.lang.String name, org.springframework.messaging.MessageChannel moduleOutputChannel, org.springframework.integration.endpoint.AbstractEndpoint adapterToBus, AbstractBusPropertiesAccessor properties)
public static Binding forDirectProducer(java.lang.String name, org.springframework.messaging.MessageChannel moduleOutputChannel, org.springframework.integration.endpoint.AbstractEndpoint adapter, AbstractBusPropertiesAccessor properties)
public java.lang.String getName()
public org.springframework.messaging.MessageChannel getChannel()
public org.springframework.integration.endpoint.AbstractEndpoint getEndpoint()
public java.lang.String getType()
public AbstractBusPropertiesAccessor getPropertiesAccessor()
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public java.lang.String toString()
toString
in class java.lang.Object