public class CommandListener extends Object implements javax.jms.MessageListener
Constructor and Description |
---|
CommandListener() |
Modifier and Type | Method and Description |
---|---|
<T extends Command> |
onCommand(T command) |
void |
onMessage(javax.jms.Message message) |
protected Command |
parseCommand(javax.jms.Message message) |
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
public <T extends Command> void onCommand(T command)
protected Command parseCommand(javax.jms.Message message) throws IOException, javax.jms.JMSException
IOException
javax.jms.JMSException
Copyright © 2020 JavaLite. All rights reserved.