Try PubSub+
If you haven't already, check out our new Developer Portal! You'll find useful information about Solace PubSub+ as well as handy resources to get you started.

Possible to export message payload in queue level

Muddam_PullaiahMuddam_Pullaiah Member Posts: 13

Hi team,
I have one query, recently we are facing issue client disconnected in one queue and message are spooled in queue around 1 lak. Is there any possibility to export the message payload, if yes please let me know the procress.

Answers

  • TomFTomF Member, Employee Posts: 40 Solace Employee

    @Muddam_Pullaiah do you want to non-destructively view ("Peek") the messages? if so, you can use a queue browser. Sdkperf can do this; use -qb to enable queue browsing, and -md to view the message.

  • Muddam_PullaiahMuddam_Pullaiah Member Posts: 13

    Hi TomF,
    let say for example my queue is piledup around 20000 message are spooled, I need all the 20000 messages spooled payload. If yes please share me sample command.

  • TomFTomF Member, Employee Posts: 40 Solace Employee

    Looks like sdkperf is your friend. Try

    Sdkperf -cip -cu <[email protected]> -cp -sql -qb -md.

    If you have 20k messages you might want to redirect the output to a file.

  • NagaNaga Member Posts: 53

    Sample command to browse all the messages from a queue and write it to file:
    sdkperf_jms.bat -cip smfs://:55443 -cu <[email protected] -cp -jcf -jndi -sql -qb -md >> 03122020_Latest.txt

  • Muddam_PullaiahMuddam_Pullaiah Member Posts: 13

    Thanks for update all.

Sign In or Register to comment.