Hi Gabriel,

take a look at

http://xstream.codehaus.org/annotations-tutorial.html

I'm not sure your code uses annotations to convert Java objects, so
that might not be related. But without more info, I can't help you
more. The best course of action is to try creating some kind of a test
case that demonstrates your problem with 5.6.0.


Regards
--
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dej...@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Tue, Jun 26, 2012 at 5:47 PM, gpulido
<gabriel.pulidodetor...@gmail.com> wrote:
> Hello again,
>
> Maybe this is a very basic question but how can I do  the class mapping set
> configuration in an embedded broker without using the xml file to set this:
>
>  <bean class="org.apache.activemq.util.XStreamFactoryBean" name="xstream">
>  <property name="annotatedClass"><value>org.apache.activemq.transport.
> stomp.SamplePojo</value></property>
>  </bean>
>
> On the version 5.4 I was capable of configure the embedded broker without
> using the xml
>
> Thank you very much in advance
> Gabriel Pulido
>
>
>
> 2012/6/25 gpulido [via ActiveMQ] <ml-node+s2283324n465354...@n4.nabble.com>
>
>> Hello,
>> Thanks for the answers.
>>
>> I'll check however why it worked with the activeMQ 5.4 and only changing
>> the jar dependency to use the activeMQ 5.6 it stops working?
>>
>> The activeMq is started inside a java application, using the BrokerService
>> class. How can I configure the annotatedClass property using this
>> mechanism?
>>
>> Thank you in advance
>> Regards
>>
>> Gabriel Pulido
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-6-stomp-object-transformation-tp4653524p4653543.html
>>  To unsubscribe from ActiveMQ 5.6 stomp object transformation, click 
>> here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4653524&code=Z2FicmllbC5wdWxpZG9kZXRvcnJlc0BnbWFpbC5jb218NDY1MzUyNHwtMTE3ODg5MjAyMA==>
>> .
>> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-6-stomp-object-transformation-tp4653524p4653586.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to