public interface MessageBuildCommand<R> extends MessageBuildParms<R>
Part of the fluent API centered around MessageBuilder
.
Modifier and Type | Method and Description |
---|---|
MessageBuildParms<R> |
command(Enum<?> command)
Sets the command for the message, and returns an instance of MessageBuildParms, which needs to be
constructed following setting the command.
|
MessageBuildParms<R> |
command(String command)
Sets the command for the message, and returns an instance of MessageBuildParms, which needs to be
constructed following setting the command.
|
MessageBuildParms<R> |
signalling()
If signalling is called, the service is only signalled as opposed to sending a specific command.
|
copy, copy, copyResource, defaultErrorHandling, done, errorsHandledBy, flag, noErrorHandling, with, with, withProvided, withProvided, withValue
getMessage
MessageBuildParms<R> command(Enum<?> command)
command
- the command to set for this message. Could be one of
BusCommand
MessageBuildParms<R> command(String command)
command
- the command to set for this message.MessageBuildParms<R> signalling()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.