Author |
Message |
Topic: Messages lost when application putting very fast. |
betterchoices
Replies: 26 Views: 14235
|
Forum: General IBM MQ Support Posted: Mon Jun 22, 2009 4:03 am Subject: Messages lost when application putting very fast. |
My system was idle for the past 2 days.
I am using the same code, I posted earlier, and now everything works.
I really dont know why there was issue with same code 2 days back.
Today it works, I ... |
Topic: Messages lost when application putting very fast. |
betterchoices
Replies: 26 Views: 14235
|
Forum: General IBM MQ Support Posted: Sun Jun 21, 2009 4:31 am Subject: Messages lost when application putting very fast. |
I think betterchoices compiled the first code and when didn't find all messages in queue, tried to debug the code and added one extra line (s.o.p). The code took some extra time but results were good. ... |
Topic: Messages lost when application putting very fast. |
betterchoices
Replies: 26 Views: 14235
|
Forum: General IBM MQ Support Posted: Sat Jun 20, 2009 4:40 pm Subject: Messages lost when application putting very fast. |
BY codes I mean peice of java code
i.e.
Code 1:
for(int i=0; i<5000;i++){
MQMessage msg = new MQMessage();
msg.format = MQC.MQFMT_STRING ;
msg.writeString(message); // message is my mess ... |
Topic: Messages lost when application putting very fast. |
betterchoices
Replies: 26 Views: 14235
|
Forum: General IBM MQ Support Posted: Sat Jun 20, 2009 8:30 am Subject: Messages lost when application putting very fast. |
yes i refresh it several times...i cant even guess what can be issue. only thing .. only diff. in two codes is the time in putting all messages...
if 5000 messages comes in the queue in 1-2 secs.. t ... |
Topic: Messages lost when application putting very fast. |
betterchoices
Replies: 26 Views: 14235
|
Forum: General IBM MQ Support Posted: Sat Jun 20, 2009 4:20 am Subject: Messages lost when application putting very fast. |
I have an application which puts messages on the MQ Queue.
Below is the code to put messages on the MQ Queue:
for(int i=0; i<5000;i++){
MQMessage msg = new MQMessage();
msg.format = MQC.MQFMT_ ... |
Topic: No listener... how to pick messages |
betterchoices
Replies: 4 Views: 4777
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 17, 2009 12:23 pm Subject: No listener... how to pick messages |
ok i m sure i cant use client connection without using listeners. I am opting for bindings mode. Thank you very much mqjeff for the information. |
Topic: No listener... how to pick messages |
betterchoices
Replies: 4 Views: 4777
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 17, 2009 11:56 am Subject: No listener... how to pick messages |
yes i understand.. but previousle i faced some issues, when i was using bindings mode. I dont want to switch back to bindings mode. I want to use client mode only. If definite answer is no, means noth ... |
Topic: No listener... how to pick messages |
betterchoices
Replies: 4 Views: 4777
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 17, 2009 11:44 am Subject: No listener... how to pick messages |
Hi
I have a pplication which listenes to a Queue. I deployed application to the server. there was already MQ Explorer with Queue Manager and Queue, I generated bindings file using the JMS Administere ... |
Topic: Generating the .bindings file |
betterchoices
Replies: 4 Views: 23416
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 17, 2009 12:07 am Subject: Generating the .bindings file |
I wanted to create a simple file-based JNDI context and configure the JMS objects in that JNDI
namespace. These JNDI objects are used by applications running in WebSphere
Application Server Communit ... |
Topic: MQJMS Client Working Bind Not Working |
betterchoices
Replies: 20 Views: 21943
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 16, 2009 6:51 am Subject: MQJMS Client Working Bind Not Working |
When we are using bindings mode to connect to MQ, we need to modify the library path i.e. include mq dll's into the java library path.
we can use command like this
java -Djava.library.path=C:\Prog ... |
Topic: MQJMS Client Working Bind Not Working |
betterchoices
Replies: 20 Views: 21943
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 16, 2009 6:44 am Subject: MQJMS Client Working Bind Not Working |
hi gaurav..
i had a very complicated applicaiton listening to MQ. application was a MDb deployed on oc4j.. i remember i first tried bindings mode, then i switched to client mode.
Problem with bin ... |
Topic: MQJMS Client Working Bind Not Working |
betterchoices
Replies: 20 Views: 21943
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 16, 2009 12:33 am Subject: MQJMS Client Working Bind Not Working |
Vitor, I understand your concern, and what you are saying should be done.
Actually I was also, authority issue when my application tried to pick messages, I added it to mqm group and it worked. I wa ... |
Topic: MQJMS Client Working Bind Not Working |
betterchoices
Replies: 20 Views: 21943
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 16, 2009 12:10 am Subject: MQJMS Client Working Bind Not Working |
I beleive adding would solve the issue..add user to mqm group |
Topic: MDB not listening when msg comes from third system. |
betterchoices
Replies: 8 Views: 10199
|
Forum: IBM MQ Java / JMS Posted: Sun Jun 14, 2009 12:49 am Subject: MDB not listening when msg comes from third system. |
yes.. u r right... i made this mistake.....
but i only did this because in my company...there is no MQ admin or expert and they wanted a stanlone MQ application(small program) to put and get messages ... |
Topic: MDB not listening when msg comes from third system. |
betterchoices
Replies: 8 Views: 10199
|
Forum: IBM MQ Java / JMS Posted: Fri Jun 12, 2009 5:30 am Subject: MDB not listening when msg comes from third system. |
Vitor,
All my problems are solved..... I put messages in Queue using a java program, and then my mdb is able to pick those messages..
Earlier, my MDB was not invoked...I put messages on queue us ... |