|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface implmented by all SyncCommands and specifies that they must implement the 'execute' method. These commands will be executed by the PubSubConsumer when when it consumes a Sync Message..
RequestCommand| Method Summary | |
void |
execute(int messageNumber,
javax.jms.Message aMessage)
Method used to implement business logic specific to a message or set of messages consumed by a OpenEAI PubSubConsumer or PointToPointConsumer. |
| Method Detail |
public void execute(int messageNumber,
javax.jms.Message aMessage)
throws CommandException
CommandException. - Generally, this exception should only ever be thrown if the
Command has trouble turning the message body of the JMS Message passed to the execute method into an XML Document (org.jdom.Document).
Any other error encountered by the command should be handled accordingly by publishing a Sync-Error-Sync
message with errors indicating the nature of the problem.
CommandExceptionRequestMessage.execute
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||