JMS

JMS Message Bridging – SwiftMQ – Weblogic JMS


Found this really useful link on swift MQ website…

http://www.swiftmq.com/products/extension/xt_bridge/example/index.html

 

 

Advertisements

Implementing sequencing solutions with OSB when using JMS messaging


I Came across this post when I was looking for option on how to implement sequencing solutions with OSB when using messaging (JMS)

https://forums.oracle.com/thread/2138854 Which talks about Using Message Unit-of-Order with JMS

 

Using Message Unit-of-Order

Message Unit-of-Order is a WebLogic Server value-added feature that enables a stand-alone message producer, or a group of producers acting as one, to group messages into a single unit with respect to the processing order. This single unit is called a Unit-of-Order and requires that all messages from that unit be processed sequentially in the order they were created.

Oracle documentation   http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/uoo.html

Doesn’t give us an as is solution but is definitely worth exploring on these lines…

Youtube Video presentation http://youtu.be/B9J7q5NbXag

Other references http://weblogic-wonders.com/weblogic/2011/03/11/unit-of-order-with-distributed-destinations/

Watch this space for updates on how I get on with this.

 

 

Moving and managing messages in JMS Queues


When dealing with several JMS Queues it is apparent that one would need to move messages across these queues and manage them. e.e. moving messages from error queues to source queues, destination to source to replay etc.

So the question is how can you move a message from one JMS Queue to another? Well there are a few options one has for that.

Option 1 using the out of the box OSB Console

Go to the weblogic console->JMS Modules-JMSResouces-> YourQueue ->Monitor->show messages and select move

Option 2 Using Hermes JMS for managing JMS resources

Use open source tool HermesJMS

Initial configuration steps video to Configure Hermes with Weblogic Server available at

http://hermesjms.com/demos/ConfigureHermesWithWLS.html

Once you have configured you can click discover on the session to load all the available Queues and Topics for that connection or one can manually add the destinations you want to use

Browse the queues/topics for messages

Option 3 – Custom java client for moving messages on JMS queues using the JMS API

Mark Nelson has written something on these lines http://redstack.wordpress.com/2010/02/17/an-updated-simple-weblogic-jms-client/  but I would possibly look to take it a step further – details to follow