You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jeremy Ross <je...@gmail.com> on 2008/05/28 18:21:24 UTC

Sending message to password protected queue via JMX?

Hi.  I'm using the authorizationPlugin to protect access to a queue.  Is it
possible to authenticate and send a message to this queue using jconsole?  I
don't see away to provide the credentials.

thanks

Jeremy
-- 
View this message in context: http://www.nabble.com/Sending-message-to-password-protected-queue-via-JMX--tp17516543s2354p17516543.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Sending message to password protected queue via JMX?

Posted by ttmdev <jo...@ttmsolutions.com>.
I have create AMQ-1761 and submitted a patch for review. The patch enhances
sendTextMessage() such that it accepts an optional username and password.
This allows you to send a text message, via jmx, while  authentication
services have been enabled. 

Joe


ttmdev wrote:
> 
> There is the 'sendTextMessage' operation that the destination MBean (i.e.,
> DestinationViewMBean) provides. I guess you could extend this to accept an
> optional user name and password.
> 
> Joe
> 
> 
> Jeremy Ross wrote:
>> 
>> bump.  pretty please.
>> 
>> 
>> Jeremy Ross wrote:
>>> 
>>> Hi.  I'm using the authorizationPlugin to protect access to a queue.  Is
>>> it possible to authenticate and send a message to this queue using
>>> jconsole?  I don't see away to provide the credentials.
>>> 
>>> thanks
>>> 
>>> Jeremy
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Sending-message-to-password-protected-queue-via-JMX--tp17516543s2354p17607012.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Sending message to password protected queue via JMX?

Posted by ttmdev <jo...@ttmsolutions.com>.
There is the 'sendTextMessage' operation that the destination MBean (i.e.,
DestinationViewMBean) provides. I guess you could extend this to accept an
optional user name and password.

Joe


Jeremy Ross wrote:
> 
> bump.  pretty please.
> 
> 
> Jeremy Ross wrote:
>> 
>> Hi.  I'm using the authorizationPlugin to protect access to a queue.  Is
>> it possible to authenticate and send a message to this queue using
>> jconsole?  I don't see away to provide the credentials.
>> 
>> thanks
>> 
>> Jeremy
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Sending-message-to-password-protected-queue-via-JMX--tp17516543s2354p17544838.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Sending message to password protected queue via JMX?

Posted by Jeremy Ross <je...@gmail.com>.
bump.  pretty please.


Jeremy Ross wrote:
> 
> Hi.  I'm using the authorizationPlugin to protect access to a queue.  Is
> it possible to authenticate and send a message to this queue using
> jconsole?  I don't see away to provide the credentials.
> 
> thanks
> 
> Jeremy
> 

-- 
View this message in context: http://www.nabble.com/Sending-message-to-password-protected-queue-via-JMX--tp17516543s2354p17544491.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.