Re: Retrieving columns types with MapMessage

2008-12-02 Thread Ben Amitai
t;> >>> Open Source Integration >>> http://fusesource.com/ >>> >>> >> >> Well, thats exactly what i'm doing, but, I really wished I could do >> something like: >> if typeof(key name) is timestamp then readLong. >> otherwi

Re: Retrieving columns types with MapMessage

2008-12-02 Thread James Strachan
2008/12/2 Ben Amitai <[EMAIL PROTECTED]>: > > > > James.Strachan wrote: >> >> 2008/12/2 Ben Amitai <[EMAIL PROTECTED]>: >>> >>> Hi, >>> I read a MapMessage object using Session.receive(); >>> Now, I need to print the values of changed columns, but regarding to the >>> column's type. >>> for example

Re: Retrieving columns types with MapMessage

2008-12-02 Thread Ben Amitai
ce.com/ > > Well, thats exactly what i'm doing, but, I really wished I could do something like: if typeof(key name) is timestamp then readLong. otherwise readObject. The thing is I don't know the type... -- View this message in context: http://www.nabble.com/Retrieving-columns-types-with-MapMessage-tp20788846p20789188.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Retrieving columns types with MapMessage

2008-12-02 Thread James Strachan
2008/12/2 Ben Amitai <[EMAIL PROTECTED]>: > > Hi, > I read a MapMessage object using Session.receive(); > Now, I need to print the values of changed columns, but regarding to the > column's type. > for example, a date type should be read as long when name should be read as > string. > > I have no i

Retrieving columns types with MapMessage

2008-12-02 Thread Ben Amitai
want even possible? thanx udi -- View this message in context: http://www.nabble.com/Retrieving-columns-types-with-MapMessage-tp20788846p20788846.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.