Connecting TIBCO BW with ActiveMQ

Usually, when we work with the TIBCO technology and with TIBCO BW in particular we are going to do a huge use of the JMS technology and to accomplish these tasks we usually use the TIBCO EMS as a JMS provider, because it is included in the default TIBCO BW installation. But in some organization they already have an JMS broker that are being using in some parts you have to integrate, because some of the particular features of their business and you have to get along with it.

In this post I’m going to show you how you can connect your TIBCO BW process with one of the best free and open source JMS providers, such as Apache ActiveMQ. We are going to use the current version (current, in the time we are posting this), 5.7.0.  So the first  step you have to accomplish is to download the software.  Download the software. 

To get started to ActiveMQ is so easy, you only have to execute the activemq.bat you find in the bin/ folder, as so many apps, but if you want to learn a little bit in this great broker, you can give a chance to the ActiveMQ in Action book.

Ok, when we finished to install the software, we are going to do a little process only to verify the connections. The BW project will be very simple. Only two processes, one it’s a queue receiver and the other is a queue sender, that’s all. But the main problem is to configure the ActiveMQ connection.

The configuration must the following, as you can see in this snapshot:

AMQ_BW_CONN

And you have to add the following JAR libs into the TIBCO BW classpath: activemq-core-5.7.0.jar and geronimo-j2ee-management_1.1_spec-1.0.1.jar. With these steps you have accomplish all the needed steps to get your process working correctly with your ActiveMQ broker.

Download the sample process so you can take a deeper look.

I hope you can use these information in your new developments! See you in the next post!

About these ads

7 Comments

Filed under TIBCO BW

7 responses to “Connecting TIBCO BW with ActiveMQ

  1. Alex

    Do you know if JMS request/reply ist working out of the box with ActiveMQ unsing the JMS Queue Requestor activity? Or does it rely on EMS?

    • Hi Alex,

      First of all, I’m going to make the test of the functionality you are talking about with a sample project ASAP so you can download it, yo get it working. But, as you might know the Request-Reply is a functionality of the JMS standart since its initial versions, so any JMS provider such as ActiveMQ or TIBCO EMS must implement it.

      In fact, when you do a request-reply, you are doing the following actions:
      1.- You are sending a JMS message specifying a correlation-id in the JMS header: JMSCorrelationID.
      2.- You are also specifiying a temporal destination to get the response message at the JMS header: JMSReplyTo.
      3.- You listen to you responso.

      So, answering to your questions, yes you can use ActiveMQ out-of-the-box to do request-reply without needed EMS.

      Thank you for your comment and hope the answer fits you.

  2. Pingback: [TIBCO BW BLOG Answer] Request & Reply with ActiveMQ | TIBCO BW BLOG

  3. Samrat

    hi , thanks for the post. thr is a situation where I want to post a message over a active MQ queue but the producer of message will send the message over http, can we do that in active MQ ?

  4. Kishore

    Hi, Thank you for detailed post. When I am using ActiveMQ 5.6.0 version with simpleAuthenticationPlugin & authorizationPlugin Plug-ins. I am getting error in BW as Connection not successful and ActiveMQ Server logs shows  WARN | Failed to add Connection ID:, reason: java.lang.SecurityException: User name [null] or password is invalid.. Kindly share your thoughts.

    • For the log entry you are sharing with us, it seems that the problem could be related to the way BW are authenticating to the ActiveMQ service. Could you share with us the BW JMS Connection configuration?

      Thank you very much for your comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s