Class SyncClient
- java.lang.Object
-
- ejava.examples.jms20.jmsmechanics.SyncClient
-
-
Field Summary
Fields Modifier and Type Field Description private JMSConsumer
consumer
private int
count
private static org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description SyncClient(JMSConsumer syncConsumer)
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
consumer
private JMSConsumer consumer
-
count
private int count
-
-
Constructor Detail
-
SyncClient
public SyncClient(JMSConsumer syncConsumer)
-
-
Method Detail
-
getMessage
public Message getMessage() throws JMSException
- Specified by:
getMessage
in interfaceMyClient
- Throws:
JMSException
-
-