Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install FIXEdge for Windows (use "tar xvf" commands for Linux/Solaris)

  2. Put jmsTADll-xx.dll (libjmsTADll-xx.so and symlink libjmsTA.so  for Linux/Solaris) file from JMSAdaptor package into bin directory of FIXEdge

  3. Copy "jms-ta-distribution" directory to FIXEdge's configuration directory (e.g FixEdge1/conf/)

  4. Copy JVM_Options.jvmopts from Package/DOC/ to FixEdge1/conf/ 

  5. Copy appropriate tibjms.jar library from TIBCO EMS (for example, it can be located into C:/tibco/ems/6.3/lib/) to, for example, jms-ta-distribution/tool/lib/ folder and add path to this library to classpath in JVM_Options.jvmopts, e.g.:

    Code Block
    titleJVM_Options.jvmopts
    -Djava.class.path=(...);FixEdge1/conf/jms-ta-distribution/tool/lib/tibjms.jar;
  6. Configure consumer connection parameters in the FIXEdge.properties, e.g.:

    Code Block
    languagepy
    titleFIXEdge.properties
    TransportLayer.TransportAdapters = TransportLayer.JMSTA
    
    TransportLayer.JMSTA.Description = JMS Transport Adaptor
    TransportLayer.JMSTA.DllName = bin/jmsTADll-vc10-MD-x64.dll 
    TransportLayer.JMSTA.JVMOptionsFile = FixEdge1/conf/JVM_Options.jvmopts 
    TransportLayer.JMSTA.ConnectionNames = Connection1
    TransportLayer.JMSTA.ClientNames = fixedge_recv_dev   // This will be used as ClientID of durable
    
    TransportLayer.JMSTA.Connection.Connection1.InitialContextFactory = com.tibco.tibjms.naming.TibjmsInitialContextFactory
    TransportLayer.JMSTA.Connection.Connection1.ProviderURI = tcp://epuakyiw1476:7222
    TransportLayer.JMSTA.Connection.Connection1.User = fixedge_dev
    TransportLayer.JMSTA.Connection.Connection1.Password = fixedge_dev
    TransportLayer.JMSTA.Connection.Connection1.ConnectionFactory = TopicConnectionFactory
    TransportLayer.JMSTA.Connection.Connection1.ReconnectTries = 2000000
    TransportLayer.JMSTA.Connection.Connection1.ReconnectInterval = 2000
    TransportLayer.JMSTA.Connection.Connection1.Reconnect = true
    
    ## Topic Consumer client
    TransportLayer.JMSTA.Client.fixedge_recv_dev.ConnectionName = Connection1
    TransportLayer.JMSTA.Client.fixedge_recv_dev.SessionType = Consumer
    TransportLayer.JMSTA.Client.fixedge_recv_dev.MessagingMode = Topic
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DestinationURI = fixedge.deals
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DeliveryMode = NoPersist
    TransportLayer.JMSTA.Client.fixedge_recv_dev.TimeToLive = 100000
    TransportLayer.JMSTA.Client.fixedge_recv_dev.SessionAckMode = Auto
    TransportLayer.JMSTA.Client.fixedge_recv_dev.MessageType = Text
    TransportLayer.JMSTA.Client.fixedge_recv_dev.StorageDir = FixEdge1/log
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DurableSubscription = true
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DurableSubscriptionName = fixedge.deals


    If you need to configure consumer and producer, then you should repeat steps 2 and 5 from "On TIBCO EMS side" instruction and in FIXEdge.properties configuration should looks like:

    Code Block
    languagepy
    titleFIXEdge.properties
    TransportLayer.TransportAdapters = TransportLayer.JMSTA
    
    TransportLayer.JMSTA.Description = JMS Transport Adaptor
    TransportLayer.JMSTA.DllName = bin/jmsTADll-vc10-MD-x64.dll
    TransportLayer.JMSTA.JVMOptionsFile = FixEdge1/conf/JVM_Options.jvmopts
    TransportLayer.JMSTA.ConnectionNames = Connection1,Connection2
    TransportLayer.JMSTA.ClientNames = fixedge_recv_dev,fixedge_send_dev
    
    TransportLayer.JMSTA.Connection.Connection1.InitialContextFactory = com.tibco.tibjms.naming.TibjmsInitialContextFactory
    TransportLayer.JMSTA.Connection.Connection1.ProviderURI = tcp://epuakyiw1476:7222
    TransportLayer.JMSTA.Connection.Connection1.User = fixedge_dev
    TransportLayer.JMSTA.Connection.Connection1.Password = fixedge_dev
    TransportLayer.JMSTA.Connection.Connection1.ConnectionFactory = TopicConnectionFactory
    TransportLayer.JMSTA.Connection.Connection1.ReconnectTries = 2000000
    TransportLayer.JMSTA.Connection.Connection1.ReconnectInterval = 2000
    TransportLayer.JMSTA.Connection.Connection1.Reconnect = true
    
    TransportLayer.JMSTA.Connection.Connection2.InitialContextFactory = com.tibco.tibjms.naming.TibjmsInitialContextFactory
    TransportLayer.JMSTA.Connection.Connection2.ProviderURI = tcp://epuakyiw1476:7222
    TransportLayer.JMSTA.Connection.Connection2.User = fixedge
    TransportLayer.JMSTA.Connection.Connection2.Password = fixedge
    TransportLayer.JMSTA.Connection.Connection2.ConnectionFactory = TopicConnectionFactory
    TransportLayer.JMSTA.Connection.Connection2.ReconnectTries = 2000000
    TransportLayer.JMSTA.Connection.Connection2.ReconnectInterval = 2000
    TransportLayer.JMSTA.Connection.Connection2.Reconnect = true
       
    ## Topic Consumer client
    TransportLayer.JMSTA.Client.fixedge_recv_dev.ConnectionName = Connection1
    TransportLayer.JMSTA.Client.fixedge_recv_dev.SessionType = Consumer
    TransportLayer.JMSTA.Client.fixedge_recv_dev.MessagingMode = Topic
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DestinationURI = fixedge.deals
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DeliveryMode = NoPersist
    TransportLayer.JMSTA.Client.fixedge_recv_dev.TimeToLive = 100000
    TransportLayer.JMSTA.Client.fixedge_recv_dev.SessionAckMode = Auto
    TransportLayer.JMSTA.Client.fixedge_recv_dev.MessageType = Text
    TransportLayer.JMSTA.Client.fixedge_recv_dev.StorageDir = FixEdge1/log
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DurableSubscription = true
    TransportLayer.JMSTA.Client.fixedge_recv_dev.DurableSubscriptionName = fixedge.deals
    
     ## Topic Producer client
    TransportLayer.JMSTA.Client.fixedge_send_dev.ConnectionName = Connection2
    TransportLayer.JMSTA.Client.fixedge_send_dev.SessionType = Producer
    TransportLayer.JMSTA.Client.fixedge_send_dev.MessagingMode = Topic
    TransportLayer.JMSTA.Client.fixedge_send_dev.DestinationURI = fixedge.deals
    TransportLayer.JMSTA.Client.fixedge_send_dev.DeliveryMode = NoPersist
    TransportLayer.JMSTA.Client.fixedge_send_dev.TimeToLive = 100000
    TransportLayer.JMSTA.Client.fixedge_send_dev.SessionAckMode = Auto
    TransportLayer.JMSTA.Client.fixedge_send_dev.MessageType = Text
    TransportLayer.JMSTA.Client.fixedge_send_dev.StorageDir = FixEdge1/log
    TransportLayer.JMSTA.Client.fixedge_send_dev.DurableSubscription = false
    TransportLayer.JMSTA.Client.fixedge_send_dev.DurableSubscriptionName = fixedge.deals

...