You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MarcoM <ma...@integrationbydesign.nl> on 2015/05/01 12:55:50 UTC

How to to get the JMSActiveMQBrokerInTime/OutTime using .NET NMS

Hi,

We want to use the JMSActiveMQBrokerInTime/OutTime to do performance
testing.
The NMS .NET API (C#) doesn't provide these on the IMessage Interface.
However, the Message classes implement them (BrokerIntime/OutTime).

We now use reflection, but I think these properties should be exposed on the
IMessage interface directly.

So the questions are:
 - Is there a currently a way other than reflection to get these properties?
 - If not, how can I put in a change request to support for these
properties?

Regards,

Marco




--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-to-get-the-JMSActiveMQBrokerInTime-OutTime-using-NET-NMS-tp4695970.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to to get the JMSActiveMQBrokerInTime/OutTime using .NET NMS

Posted by Timothy Bish <ta...@gmail.com>.
On 05/01/2015 06:55 AM, MarcoM wrote:
> Hi,
>
> We want to use the JMSActiveMQBrokerInTime/OutTime to do performance
> testing.
> The NMS .NET API (C#) doesn't provide these on the IMessage Interface.
> However, the Message classes implement them (BrokerIntime/OutTime).
>
> We now use reflection, but I think these properties should be exposed on the
> IMessage interface directly.
>
> So the questions are:
>  - Is there a currently a way other than reflection to get these properties?

Cast the IMessage to Apache.NMS.ActiveMQ.Commands.ActiveMQMessage then
use the property getter to read the value.

>  - If not, how can I put in a change request to support for these
> properties?
>
> Regards,
>
> Marco
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-to-get-the-JMSActiveMQBrokerInTime-OutTime-using-NET-NMS-tp4695970.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/