com.epam.fixengine.jms.adaptor
Class FIXJMSAdaptor

java.lang.Object
  extended by com.epam.fixengine.jms.adaptor.FIXJMSAdaptor

public class FIXJMSAdaptor
extends Object

This class helps to send and receive FIX Messages to/from JMS service.

Author:
Mykhailo_Sereda

Field Summary
protected static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
FIXJMSAdaptor(IJMSConsumer consumer, IJMSProducer producer)
           
 
Method Summary
 void close()
          Close MessageProducer and MessageConsumer
 void connect()
           
 void init()
           
 void sendMessage(FIXFieldList fixMsg)
           
 void setMessageListener(FIXAdaptorMsgListener messageListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.commons.logging.Log LOG
Constructor Detail

FIXJMSAdaptor

public FIXJMSAdaptor(IJMSConsumer consumer,
                     IJMSProducer producer)
Method Detail

init

public void init()
          throws javax.jms.JMSException
Throws:
javax.jms.JMSException
See Also:
com.epam.fixengine.jms.JMSAdaptor

sendMessage

public void sendMessage(FIXFieldList fixMsg)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException
See Also:
com.epam.fixengine.jms.JMSAdaptor

connect

public void connect()
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException
See Also:
com.epam.fixengine.jms.JMSAdaptor

close

public void close()
           throws javax.jms.JMSException
Close MessageProducer and MessageConsumer

Throws:
javax.jms.JMSException - if can't close MessageProducer or MessageConsumer
See Also:
MessageProducer.close(), MessageConsumer.close()

setMessageListener

public void setMessageListener(FIXAdaptorMsgListener messageListener)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.