activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpulido <gabriel.pulidodetor...@gmail.com>
Subject Re: ActiveMQ 5.6 stomp object transformation
Date Tue, 26 Jun 2012 16:35:29 GMT
Hello Dejan,

I'm already using xstream to serialize the objects, however instead of
annotations I'm using an XStream instance configured for each object
(although the default serialization is just enough). This way I could avoid
using a Xstream dependency on the POJO that could not be compatible with
other systems (I'm using the same POJO objects on an android client)

I'll take a look to create the test scenario on which the the 5.4 works and
the 5.6 don't.
Thank you again for your patience.

Gabriel Pulido

2012/6/26 dejanb [via ActiveMQ] <ml-node+s2283324n4653588h3@n4.nabble.com>

> 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.
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4653588&i=0> |
> 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
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=4653588&i=1>>
> 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] <[hidden email]<http://user/SendEmail.jtp?type=node&node=4653588&i=2>>
>
> >
> >> 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:
> >>
> >>
>
> >> .
> >> 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.
>
>
> ------------------------------
>  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-tp4653524p4653588.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-tp4653524p4653590.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message