@Dependent public class Bus extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_BASIC_MESSAGE_CLASS |
| Constructor and Description |
|---|
Bus() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.hawkular.bus.common.BasicMessage> |
send(javax.jms.Destination destination,
T message)
Sends a message asynchronously.
|
public static final String HEADER_BASIC_MESSAGE_CLASS
public <T extends org.hawkular.bus.common.BasicMessage> rx.Observable<javax.jms.TextMessage> send(javax.jms.Destination destination,
T message)
T - The message type which must be a subtype of BasicMessagedestination - The queue or topic to which the message is being sentmessage - The message to sendObservable that emits the actual JMS message that is sent.Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.