Author |
Message
|
roysumanjit |
Posted: Wed Feb 11, 2009 8:44 pm Post subject: MQ Server Application to be used in MQ Client |
|
|
Newbie
Joined: 14 Aug 2008 Posts: 2
|
Hi Everyone!!
I am new to ur site but have had much help from ur discussions.
I have a query on my MQ applications.
I had created applications for MQ Srver and they were running fine.
Now my client wants to run them from a MQ Client which will connect to the aboove mentioned MQ Server.
To carry this transition out, what all changes do I need to do?
Do I need any code change? Or a application rebuild with MQ Client libraries is enough?
Thanks for your help in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 12, 2009 12:53 am Post subject: Re: MQ Server Application to be used in MQ Client |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
roysumanjit wrote: |
Do I need any code change? Or a application rebuild with MQ Client libraries is enough? |
It's enough. You might want to consider some additional code to handle unexpected connection loss, which won't have been a problem previously. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 12, 2009 12:59 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you use 2-phase commit then you need the extended transactional client.
Otherwise the main concern is that error and retry handling is performed well especially when the MQCONN does not work.
Client applications should attempt reconnection, but not in a tight loop (in other words wait at least 15 seconds between attempts).
MQRC 2009 is more likely to occur (eg during MQGET with WAIT) so allow for that as well. |
|
Back to top |
|
 |
roysumanjit |
Posted: Thu Feb 12, 2009 2:03 am Post subject: |
|
|
Newbie
Joined: 14 Aug 2008 Posts: 2
|
Thanks for your quick reply!!! |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 12, 2009 6:32 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The WMQ Clients manual is a great place to start. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|