gdaws/stompit

How to remove activemq queues and scheduled jobs?

aniinprni opened this issue · 0 comments

Using stompit from my node js application to connect to activemq. i am able to schedule the jobs, but unable to remove the jobs . Here is my peace of code

const sendHeaders = {
        'destination': '/queue/test',
        "AMQ_SCHEDULER_ACTION": 'AMQ_SCHEDULER_ACTION_REMOVEALL',
      };
    
      channel.send(sendHeaders,"test",function(error){
        console.log("testing >>>>>>>>>>>> channel send error---",error)
        channel.close()
        resolve()
      })

But this is not removing any thing.Kindly help me out