On 26/08/2009, Noel O'Brien <[email protected]> wrote:
> Hi Ivan,
>
>  I've modified it already (more of a hack really :) ) to add a third column 
> for "type" as I needed to to send MapMessage. It's also recently been 
> modified to send ByteMessage. I can provide it to you but like I said, it's a 
> hack and may not work exactly as you need it.
>
>  Sebb, how could I go about adding these modification (and improving them :) 
> ) into the code base?

Create a Bugzilla enhancement issue, and then attach the code to the issue.

Changes to existing files should be added as "unified diff" patches;
new files can be attached as is. Please ensure new files have the
appropriate AL header.

>
>  Regards,
>  Noel
>
>  ----- "Ivan Ivankovic" <[email protected]> wrote:
>  > Thank you.
>  >
>  > I will see to do something about this for the weekend.
>  >
>  > Reagrds,
>  > Ivanko
>  >
>  > On Wed, Aug 26, 2009 at 12:17 PM, sebb <[email protected]> wrote:
>  >
>  > > On 26/08/2009, Ivan Ivankovic <[email protected]> wrote:
>  > > > If that is the case, I could use some hints Class names etc... to add
>  > > this
>  > >
>  > > Select the sampler, press Ctrl+W and the GUI and test element class
>  > > names will be displayed in the console window.
>  > >
>  > > > feature myself because I need it, so if I don't find a way around I
>  > > could
>  > > > try to add this feature. Something like a third column to choose Type 
> of
>  > > > property value.
>  > >
>  > > Yes, that's probably best.
>  > >
>  > > > Or simply to support some simple conversion syntax like int("0") in
>  > > value
>  > > > field itself or something like that. This would be faster to implement
>  > > but
>  > > > it would be ugly
>  > >
>  > > Or add an indicator to the name field, e.g.
>  > >
>  > > (int)fieldname 1234
>  > >
>  > > But I agree this is uglier than adding a 3rd column.
>  > >
>  > > > Regards.
>  > > >
>  > > >
>  > > > On Wed, Aug 26, 2009 at 12:02 PM, sebb <[email protected]> wrote:
>  > > >
>  > > > > The JMSSampler only supports setStringProperty() currently.
>  > > > >
>  > > > > On 26/08/2009, Noel O'Brien <[email protected]> wrote:
>  > > > > > Hi Ivan,
>  > > > > >
>  > > > > > AFAIK, It's not possible with the stock JMS P2P Sampler as it seems
>  > > to
>  > > > > assume everything is a String. Maybe Sebb can can confirm this?
>  > > > > >
>  > > > > > Regards,
>  > > > > >
>  > > > > > Noel
>  > > > > >
>  > > > > >
>  > > > > > ----- "Ivan Ivankovic" <[email protected]> wrote:
>  > > > > > > Hi guys,
>  > > > > > >
>  > > > > > > Is there anybody to know if this is (see below) possible to do
>  > > with
>  > > > > JMS
>  > > > > > > Point-toPoint sampler or not?
>  > > > > > >
>  > > > > > > Anything I put as a property values is treated as string, and I
>  > > need
>  > > > > it as
>  > > > > > > Integer, because this property is used as a messageSelector for
>  > > my
>  > > > > MDB.
>  > > > > > >
>  > > > > > > Regards.
>  > > > > > >
>  > > > > > > On Tue, Aug 25, 2009 at 5:17 PM, Ivan Ivankovic <
>  > > [email protected]>
>  > > > > wrote:
>  > > > > > >
>  > > > > > > > Hi,
>  > > > > > > >
>  > > > > > > > Could you please tell me if there is a way to specify Integer
>  > > > > property in
>  > > > > > > > JMS properties section. If I put 0 (zero) it is treated as
>  > > string.
>  > > > > > > >
>  > > > > > > > I need something that corresponds to following in java:
>  > > > > > > >
>  > > > > > > > jmsMessage.setIntProperty(0);
>  > > > > > > >
>  > > > > > > > Regards,
>  > > > > > > > Ivanko
>  > > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > > --
>  > > > > > > Pozdrav,
>  > > > > > > Ivanko
>  > > > > > >
>  > > > >
>  > > >
>  > > > > ---------------------------------------------------------------------
>  > > > > To unsubscribe, e-mail: [email protected]
>  > > > > For additional commands, e-mail: [email protected]
>  > > > >
>  > > > >
>  > > >
>  > > >
>  > > >
>  > > > --
>  > > > Pozdrav,
>  > > > Ivanko
>  > > >
>  > >
>  > > ---------------------------------------------------------------------
>  > > To unsubscribe, e-mail: [email protected]
>  > > For additional commands, e-mail: [email protected]
>  > >
>  > >
>  >

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to