On 15/05/07, Gordon Sim <[EMAIL PROTECTED]> wrote:
The java client (on M2) throws an exception when trying to set any property other than string if the STRICT_AMQP flag is on. Is it not only some of the extended types that are not strict AMQP? i.e. could this be relaxed for int typed properties as well?
You are right. I was over eager in throwing the Unsupported Exceptions. Looking at the code it is clear to see it is wrong. The AbstractJMSMessage setInt calls super.setInt just as setString does sp it should either allow it or not use the super method. However that is the only one as the acceptable types are: Integer, String, Decimal and Date-timestamp (long value) I shall remove the restriction on the int in AbstractJMSMessage -- Martin Ritchie
