public class ProducerConnection extends ConnectionContextFactory
connectionFactory| Constructor and Description |
|---|
ProducerConnection(String brokerURL,
Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
ProducerConnectionContext |
getConsumerConnectionContext() |
protected void |
prepareProducer(String brokerURL,
Endpoint endpoint) |
void |
sendMessage(String msg) |
cacheConnection, close, createConnection, createConsumer, createConsumerConnectionContext, createConsumerConnectionContext, createDestination, createOrReuseConnection, createProducer, createProducerConnectionContext, createSession, getConnection, getConnectionFactory, isReuseConnectionprotected void prepareProducer(String brokerURL, Endpoint endpoint) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic ProducerConnectionContext getConsumerConnectionContext()
public void sendMessage(String msg) throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2015 Red Hat, Inc.. All rights reserved.