Discussion

Configuring one JMS MDB Listener to different service method.

We have a  JMS MDB Listner that points to one MQ and the messages received are currently being processed by invoking a service method which in version say 01-01-01.

We have some enhancement in the service method functionality which is in 01-02-01. When we deploy the code we have a requirement to make both the versions of the service method to be running.

During the validation period after the deployment we need the incoming MQ traffic to invoke both 01-02-01 and 01-01-01 versions of the service method,few messages would go with the new code and few with old code. ( this is because during the validation period we do not want the existing functionality to be on hold) Once the validation is complete the new enchancement in the service method need to be made available for all users.

Is there any way to get this with one JMS MDB listner that is pointing to one incoming MQ queue?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

November 26, 2012 - 3:35pm

I would say, think in some otherway ...

There must have some deciding paramiter throughwhich you want to call service method of 01-01-01 or 01-02-01 ver.

Decide that first and then write an wrapper activity(for service JMS) and call two activity based upon the deciding params

Otherwise( not recommended)

Create two listener and create 2 service package (having two diffrent accessgrp,1 to test 01-01-01 and 1 to test 01-02-01)

 

Enjoy .. :)

November 26, 2012 - 3:35pm

I would say, think in some otherway ...

There must have some deciding paramiter throughwhich you want to call service method of 01-01-01 or 01-02-01 ver.

Decide that first and then write an wrapper activity(for service JMS) and call two activity based upon the deciding params

Otherwise( not recommended)

Create two listener and create 2 service package (having two diffrent accessgrp,1 to test 01-01-01 and 1 to test 01-02-01)

 

Enjoy .. :)