Re: org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-18 Thread Tim Bain
The default value of that property (if it's not set) is "java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper" (see ClassLoadingAwareObjectInputStream.java), and the org.fusesource.hawtbuf class in question looks like a UTF8Buffer since that'

Re: org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-13 Thread khandelwalanuj
Can someone check this please. I just wanted to know which library from "org." is being used here for MAP messages as mentioned above. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-11 Thread khandelwalanuj
> Try org.apache.activemq, since that's where MapMessage lives. Nope. doesn't work with "org.apache.activemq" or "org.apache". It only works with "org" -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-11 Thread Tim Bain
Try org.apache.activemq, since that's where MapMessage lives. On Oct 11, 2017 12:47 AM, "khandelwalanuj" wrote: > Ok. I am able to make it work by adding "org" in the serializable package > property. > > Details: > > -Dorg.apache.activemq.SERIALIZABLE_PACKAGES=java,* > org*,com.test,test,local"

Re: org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-10 Thread khandelwalanuj
Ok. I am able to make it work by adding "org" in the serializable package property. Details: -Dorg.apache.activemq.SERIALIZABLE_PACKAGES=java,*org*,com.test,test,local" Can anyone explain what exact package I need to add to make it work as "org" is huge ? Also shouldn't these packages be taken

org.apache.activemq.SERIALIZABLE_PACKAGES property affecting Map Messages

2017-10-10 Thread khandelwalanuj
Hi, I am using ActiveMQv5.14.5 and observing below mentioned behavior with ActiveMQ. We have a use case where python producer using stomp send json data({'P1': False, 'end_date': '20170911'}) to Java Consmer where Java Consumer expect to receive it as jms MapMessage. When I run ActiveMQ broker