org.fusesource.mq
Interface JMSService
- All Known Implementing Classes:
- ActiveMQService
public interface JMSService
getConnectionFactory
javax.jms.ConnectionFactory getConnectionFactory()
getDefaultConnection
javax.jms.Connection getDefaultConnection()
getDefaultSession
javax.jms.Session getDefaultSession()
createProducer
javax.jms.MessageProducer createProducer(java.lang.String destination)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createConsumer
javax.jms.MessageConsumer createConsumer(java.lang.String destination)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createTextMessage
javax.jms.TextMessage createTextMessage(java.lang.String text)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createBytesMessage
javax.jms.BytesMessage createBytesMessage(byte[] payload)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
start
void start()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
stop
void stop()
Copyright © 2013 Red Hat. All Rights Reserved.