Author |
Message
|
nirmala |
Posted: Fri Jul 27, 2007 2:19 am Post subject: Messages not going into queue |
|
|
Novice
Joined: 08 Oct 2002 Posts: 20
|
Hi,
I am putting messages into a remote queue using java programs on AS400. The program runs successfully, i.e connects to queue manager, opens the queue, puts the messages and then closes the connection. But the problem is I am not able to see the messages in the transmission queue. I tried changing the remote queue to a local queue, but still the same problem. The messages dont go into the local queue. There is no error thrown by the program.
What could the problem be?.Kindly help
Thanks
Nirmala |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 27, 2007 2:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you using syncpoint? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 27, 2007 2:27 am Post subject: Re: Messages not going into queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nirmala wrote: |
There is no error thrown by the program.
|
And you're confident a reason code returned by one of the MQ methods would be correctly trapped as an error? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nirmala |
Posted: Fri Jul 27, 2007 2:29 am Post subject: |
|
|
Novice
Joined: 08 Oct 2002 Posts: 20
|
Yes, I am using syncpoint. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 27, 2007 2:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you issuing commit? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nirmala |
Posted: Fri Jul 27, 2007 2:33 am Post subject: |
|
|
Novice
Joined: 08 Oct 2002 Posts: 20
|
yes, i am using commit and I also get a successful comit message displayed after that. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Jul 27, 2007 5:27 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Is your remote queue definition set up correctly?
Does the transmission queue exisit?
Is there a channel specified to use the transmission queue?
Does the channel start?
Is the local definition of the queue correct? |
|
Back to top |
|
 |
wmqadm |
Posted: Fri Jul 27, 2007 6:33 am Post subject: |
|
|
Newbie
Joined: 01 Feb 2006 Posts: 7
|
Can you please give snippets of your code where u are opening the queue and putting mesagge?
And also can you give the remote queue definition, local queue definition and transmit queue definitions here? |
|
Back to top |
|
 |
|