pankaj eklar

Greenhorn
+ Follow
since Mar 27, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pankaj eklar

Thanks.. I will go and look for the problem elsewhere.
14 years ago
I am trying to print a xml message in the logs. I get this message from some external system. The message that is printed is not complete and it seems to have been truncated. I am not sure who has trucated this message as this message comes via WebSphere MA and Weblogic JMS.

Is there any limitation in max number of characters that can be printed by java system.out.println?
14 years ago
Hi,

I am trying to integrate two applications using IBM MQ topic. From source a message will be put on the topic. And on the consumer end I have a weblogic pointing to a foreign jms topic.

Application on the consumer end opens a connection to get a particular message, processes the message in its onMessage method and then closes the connection.

I case of Weblogic there is one configuration parameter available on the cosole for creation of connection factory called 'Allow Close In On Message'. This prevents any threads from blocking.

Is there any such cofiguration for IBM MQ topic connection factory before I can call close from onMessage()?

Let me know if any clarification is required.

Thanks,
Pankaj
Hi,

I am trying to execute following steps in my server side code:

1. I receive a request from GUI requesting for details of an entity.
2. I need these details from an external system, so I put a message on the queue of an external server asking for the details I need.
3. I registered a listener which waits for the response message on a topic.
4. I also store request, response, session and servlet objects in message listener.
5. Current thread does not send the response back to the client and ends.
6. In the onMessage() method, I verify the response and try to forward the response to the client who had requested for it using request dispatcher I get from the stored request object.

After I forward the response, the GUI never received the response back? Call to forward does not throw any exception. Am I doing something that is not allowed or expected?
15 years ago
I have implemented this Using NotificationListener interface. But there is one more problem that I am facing. I will post it in a different thread. Thanks.
Hi Sandip,

I am doing this change for one of the clients and I cant assume that they will have this jar file

Thanks,
Pankaj
Hi Sandip,

Thanks for the quick reply. I noticed that TimedObject is not supported by Weblogic 8.1 sp5 (supported from weblogic 9.0 onwards). Please correct me if I am wrong about this. So I will not be able to use TimedObject.

If there is any other way to implement this?

Thanks,
Pankaj.
Hi,

I want to write code for following requirement:

1. I want to send a request message on one queue say Q1.
2. I should keep checking for response to the earlier request on another topic say T1, for next 2 mins.
3. If I dont receive a response on T1 within 2 mins I stop waiting for the response and continue.

There can be more than one instances which will put a message on Q1 and connect to T1 to wait for the response.

Now the real problem that I am facing is where do I write the code for counting two min timeout?

Any suggestions?

Thanks,
Pankaj