SimpleBrokerMessageHandler.
| Modifier and Type | Field and Description |
|---|---|
| private long[] | |
| private String | |
| private TaskScheduler |
| Access | Constructor and Description |
|---|---|
| public | SimpleBrokerRegistration(SubscribableChannel
the inbound channel clientInboundChannel, MessageChannel the outbound channel clientOutboundChannel, String[] the destination prefixes destinationPrefixes)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| protected SimpleBrokerMessageHandler | getMessageHandler(SubscribableChannel brokerChannel)
Implements abstract org.
|
| public SimpleBrokerRegistration | |
| public void | setSelectorHeaderName(String
the name to use for a selector header, or selectorHeaderName)null
or blank to disable selector header supportConfigure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription. |
| public SimpleBrokerRegistration | setTaskScheduler(TaskScheduler taskScheduler)
Configure the |
| heartbeat | back to summary |
|---|---|
| private long[] heartbeat
| |
| selectorHeaderName | back to summary |
|---|---|
| private String selectorHeaderName
| |
| taskScheduler | back to summary |
|---|---|
| private TaskScheduler taskScheduler
| |
| SimpleBrokerRegistration | back to summary |
|---|---|
| public SimpleBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes) Create a new
| |
| getMessageHandler | back to summary |
|---|---|
| protected SimpleBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel) Implements abstract org.
| |
| setHeartbeatValue | back to summary |
|---|---|
| public SimpleBrokerRegistration setHeartbeatValue(long[] heartbeat) Configure the value for the heartbeat settings. The first number represents how often the server will write or send a heartbeat. The second is how often the client should write. 0 means no heartbeats. By default this is set to "0, 0" unless the
| |
| setSelectorHeaderName | back to summary |
|---|---|
| public void setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription. The header value is expected to be a Spring Expression Language (SpEL) boolean expression to be applied to the headers of messages matched to the subscription. For example: headers.foo == 'bar' By default the selector header name is set to
| |
| setTaskScheduler | back to summary |
|---|---|
| public SimpleBrokerRegistration setTaskScheduler(TaskScheduler taskScheduler) Configure the By default this is not set.
| |