JMSToolbox : Unable to see the content of the message when I Click on Browse Queue Option
Could you please help me on this issue. I am using Solace PubSub Event Broker message VPN.
Step1 : I have used sdkpref to send message to Queue ( e.g abc) and sent 3 messages to the Queue
Step2 : I have logged in Soldadmin and Could see message spooled is 3
Step3 : I have connected messageVPN using JMSToolBox and Could see my Queue name (abc) is listed under SolaceQManager tree view (Under Queues)
Step4 : I did the right click and Selected Browse Queue option but unable to retrieve the message spooled using JMSToolBox. I should be expecting 3 messages to be displayed but empty screen is displaying.
I could see following messages in the log file
browseQueue JTBQueue [abc] maxMessages=200, payloadSearchText='' selectorsSearchText=''
Q Depth : null Max : 200 Nb msg to display : 0
May I know the reason why JMSToolbox is not showing the message spooled on the Queue. Am I missing something here ? . Appreciate , your help on this
Thanks
Shiva
Comments
-
Hi, can you share the SDKPerf command line you used to publish the messages?
1 -
Here is the command working . I've replaced all the below values as per my pubsub VPN configuration and able to publish message to topic which has Queue endpoint subscribed to this topic.
sdkperf_java.bat -cip=tcps://ipaddress:portnumber, -cu=Username@VPNName -cpf= -sslts= -ssltsp= -ssltsf=jks -sslp=TLSv1.2 -stl= -ptl=Topicname –mn=1 -msa=10 –md
Thanks
Shiva0 -
thanks, just to confirm...
queue abc has a subscription to "Topicname" in the -ptl?
can you add -mt=persisitent to the sdkperf? it shouldn't matter but wouldn't hurt.
Is the username in JMSToolbox the same as the username in sdkperf?
could you try publishing directly to the queue with -pql=abc?0 -
Hi @ShivaPrasad ,
1) Do you have any TTL set on the Queue ?
2) Can you try to browse with sdkperf itself (-qb -sql=QueueName) to eliminate if its tool (JMSToolbox) issue ?
// nram0 -
Yes. TTL set on the Queue.
I tried by adding -sql= to my sdkperf and I am able to consume messages from queue.
I have verified message spooled count is 0 in Soladmin after running sdfperf command.
Thanks
Shiva0 -
Hi @ShivaPrasad ,
Whats the TTL value on the Queue? Is it likely you are browsing with JMSToolbox after the messages expired ?
// nram0 -
TTL is 7 days (in seconds) . I am able to browse the queue content using -sql= -qb -md -q using sdfperf. My assumption is that if Click on Browse Queue option on JMSToolBox, The same message should display but no messages displayed on the screen. It is showing the below logs in jmstoolbox logs
Q Depth : null Max : 2147483647 Nb msg to display : 0
Thanks
Shiva0 -
Then it appears to be a tool issue (JMSToolBox). What version of JMSToolBox and SolOS are you working with? Few general comments:
1) Pl make sure you are using latest version of JMSToolBox.
2) You may also add latest Solace JARs to JMSToolBox with "Configure Q Manager" in case
3) Pl check this video out: https://www.youtube.com/watch?v=I-AzudvPaGg
// nram0 -
Thank you nram for your response. Greatly appreciated. I've verified SolOS and installed the latest version as per the pre-requisites. Everything looks ok. The actual issue is there is a variable - browser_timeout : Minimum value: 250 milliseconds when I establish a connection . I've modified this value to 1000 milliseconds. Then I am able to see the messages on the browser. JMSToolBox is not able to retrieve the messages from VPN within 250 ms.
Thanks
Shiva2 -
Glad you figured it out @ShivaPrasad and thanks for letting us know!
@amackenzie, what do you think about changing the default value ofbrowser_timeout
to 1000ms or maybe even something like 3000ms?0 -
We can look at it. To be clear, the 250ms is the default for JMSToolbox's PubSub+ broker plugin. The default in the Java API is 10000ms (10 sec). I am not sure why 250ms was chosen for JMSToolbox.
1