Class JmsRequestTransport
- java.lang.Object
-
- org.smallmind.phalanx.wire.transport.AbstractRequestTransport
-
- org.smallmind.phalanx.wire.transport.jms.JmsRequestTransport
-
- All Implemented Interfaces:
RequestTransport
public class JmsRequestTransport extends AbstractRequestTransport
-
-
Constructor Summary
Constructors Constructor Description JmsRequestTransport(RoutingFactories routingFactories, MessagePolicy messagePolicy, ReconnectionPolicy reconnectionPolicy, SignalCodec signalCodec, int clusterSize, int concurrencyLimit, int maximumMessageLength, int defaultTimeoutSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetCallerId()Objecttransmit(Voice<?,?> voice, Route route, Map<String,Object> arguments, WireContext... contexts)-
Methods inherited from class org.smallmind.phalanx.wire.transport.AbstractRequestTransport
acquireResult, completeCallback, getCallbackMap
-
-
-
-
Constructor Detail
-
JmsRequestTransport
public JmsRequestTransport(RoutingFactories routingFactories, MessagePolicy messagePolicy, ReconnectionPolicy reconnectionPolicy, SignalCodec signalCodec, int clusterSize, int concurrencyLimit, int maximumMessageLength, int defaultTimeoutSeconds) throws javax.jms.JMSException, TransportException
- Throws:
javax.jms.JMSExceptionTransportException
-
-
Method Detail
-
getCallerId
public String getCallerId()
-
transmit
public Object transmit(Voice<?,?> voice, Route route, Map<String,Object> arguments, WireContext... contexts) throws Throwable
- Throws:
Throwable
-
close
public void close() throws javax.jms.JMSException, InterruptedException- Throws:
javax.jms.JMSExceptionInterruptedException
-
-