Hi Shiv, I confirm that the client needs to have the binary to execute artemis producer and it supports certificate based authentication. i.e.
.\bin\artemis producer --url 'tcp://localhost:61616?sslEnabled=true&keyStorePath=mykeystore.jks&keyStorePassword=***&trustStorePath=mytruststore.jks&trustStorePassword=***' --protocol core --user admin --password admin --destination queue://TEST --message-count 1 --message 'Hello World!' Regards, Domenico On Mon, 12 Feb 2024 at 14:24, Shiv Kumar Dixit <shivkumar.di...@it.eurofinseu.com.invalid> wrote: > Hi Domenico, > Thanks for the response. > > Use-case is to send some status message to broker while executing an > Octopus runbook. Client mentioned that they can call PS script hence I was > exploring in that direction with STOMP. > > 'artemis producer .....' could be a good option but client needs to have > the binary to execute this step, correct? > > Also if 'artemis producer ....' supports certificate based authentication > as brokers only exposing SSL port over certificate authentication? > > Best Regards > Shiv > > -----Original Message----- > From: Domenico Francesco Bruscino <bruscin...@gmail.com> > Sent: Monday, February 12, 2024 5:56 PM > To: users@activemq.apache.org > Subject: Re: PowerShell and STOMP Support > > > > CAUTION: EXTERNAL EMAIL - Sent from an email domain that is not formally > trusted by Eurofins. > > Do not click on links or open attachments unless you recognise the sender > and are certain that the content is safe. > > Hi Shiv, > > for text messages you could use the artemis CLI, i.e. .\bin\artemis > producer --url tcp://localhost:61616 --protocol core --user admin > --password admin --destination queue://TEST --message-count 1 --message > 'Hellow World!' > > Regards, > Domenico > > > On Mon, 12 Feb 2024 at 09:32, Shiv Kumar Dixit > <shivkumar.di...@it.eurofinseu.com.invalid> wrote: > > > Hi, > > I am exploring a way to securely (TLS) send/receive message to Artemis > > broker via PowerShell. Previously I tried configuring REST interface, > > but it was updated in community ticket that REST interface is now > > decommissioned, and STOMP protocol is expected to cover all the use > > cases intended for REST interface. > > > > If there is any example or KB available to use STOMP and PowerShell > > together which I can refer? Currently I don't see any PowerShell > > script sample included with Artemis distribution. > > > > Thanks > > Shiv > > > > >