Author |
Message
|
jeevan |
Posted: Thu May 04, 2006 6:52 am Post subject: Can we block connecting to a queue manager based on IP |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
many people are sharing a queue. When one puts message, someone's listener reads that message. What he wants is block other listeners and make the queue available to him /his app only. Is there any way to allow only one app ( ip) and block other?
thanks |
|
Back to top |
|
 |
sebastianhirt |
Posted: Thu May 04, 2006 7:16 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
If you used the search button, you might have found a link to BlockIP.
Or maybe it is enough to open the queue with the open option INPUT_EXCLUSIVE. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 04, 2006 8:31 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Your question gives me a headache. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 04, 2006 10:31 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Yes there is.
There is also ways of coding applications to check messages are for it too.
Heck you can even use security to prevent access to queues too.
The wonders of modern programming. What will they think of next? I can remember a time when you secured a program by locking the punched cards in a filing cabinet  |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 04, 2006 11:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
kevinf2349 wrote: |
Yes there is. |
Please tell me how I can write code that will interrupt all other MQ handles on a particular queue, regardless of whether or not they are blocked in an MQGET or not. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu May 04, 2006 11:53 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
Please tell me how I can write code that will interrupt all other MQ handles on a particular queue, |
I didn't say you could. I was simply replying that there was a way of blocking IP addresses. Maybe I wasn't clear on that, in which case I apologise. |
|
Back to top |
|
 |
jeevan |
Posted: Thu May 04, 2006 7:59 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Actually, my need is like this:
a group of developer and also tester working simultaneously. In general, testing is done after dev finished, but this is slightly different situation. both dev and test is done simultaneously. So, the dev guy want to test message but the listener of the testing guy comsumes it. So he want to be to block the other apps for time. That is the need. So, I thought, whether I can just allow one ip and block all other. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 04, 2006 8:48 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You shouldn't be using the same queue manager for dev and test, much less the same queue. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri May 05, 2006 8:23 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Is Jeevan for real?
Surely he is just having a laugh by posting this stuff? Please don't tell me this sort of horse muck is actually going on out there for real ?
 |
|
Back to top |
|
 |
|