开发者

Tibco with JMS Application

I want to use tibco in my jms applicatio开发者_C百科n. Can any one help me how can I use tibco and also please what are the benefits from tibco.


Take a look at the samples directory in your Tibco EMS installation directory. It provides samples for the most common scenarios using the ems libs directly.

If you are using Spring to wire up your messaging there really isn't anything different you do for EMS compared to connnecting to ActiveMQ for example. Create a MessageListenerContainer or a JMSTemplate and you are on your way.


The different between TIBCO EMS and other JMS providers is a BIG question (bascially a trade-off between price, your open-source affinity, 24/7 customer support etc.)

How to use it ? I would recommend writing your own example JMS consumer, straigth from examples from a good book, for example: Java Message Service, by Richard Monson-Haefel and others. (this one is small but concise)

and then configure your example with arguments like this:

For TIBCO's EMS JNDI:

-jndiContextFactory com.tibco.tibjms.naming.TibjmsInitialContextFactory -jndiProviderUrl tibjmsnaming://localhost:7222 -topic TEST

..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜