|
From: Han K. N. <han...@ni...> - 2003-12-03 15:32:11
|
Hi CY,
Thanks for your answer. I tried the ApplicationContext("*","*","*","*") =
and it didn't work out. Here's what I did. Maybe you can tell me what I =
did wrong or at least give me a hint.
I made a copy of the LoopBack class and and renamed it to Client. So the =
CPAId and others values are still the same as in the original LoopBack =
class. I just ask the class to print the timestamp before sending the =
message.
Then I slightly changed the LoopBack class by changing the =
ApplicationContext to ("*","*","*","*") and I deleted the part that =
sends a message. (From "AttachmentDataSource ads ..." till =
"mshReq.send(message); "). I also changed the 10000 value in the sleep =
method to 50000 and ask the MessageListener to print the timestamp.
I started the Loopback in one window and run the Client class in another =
window.
I don't get anything in the LoopBack window. But when I turn the =
ApplicationContext to its original value, I do get an answer in the =
LoopBack window saying that a message was received and the timestamp =
printed in that window is the same as the one in the client window.
That's why I asked is the ("*","*","*","*") was to receive all the =
messages.
Do you see anything wrong in the way I proceed? Did I miss anything?
Thanks again for your time.
Regards,
HK |