org.granite.gravity.adapters
Interface JMSClient
public interface JMSClient
JMSCLIENT_KEY_PREFIX
static final String JMSCLIENT_KEY_PREFIX
- See Also:
- Constant Field Values
connect
void connect()
throws Exception
- Throws:
Exception
subscribe
void subscribe(CommandMessage message)
throws Exception
- Throws:
Exception
subscribe
void subscribe(String selector,
String destination,
String topic)
throws Exception
- Throws:
Exception
unsubscribe
void unsubscribe(CommandMessage message)
throws Exception
- Throws:
Exception
send
void send(Map<String,?> params,
Object msg,
long timeToLive)
throws Exception
- Throws:
Exception
send
void send(AsyncMessage message)
throws Exception
- Throws:
Exception
hasActiveConsumer
boolean hasActiveConsumer()
close
void close()
throws Exception
- Throws:
Exception