[jira] Created: (CAMEL-756) AMQP component can't send an ObjectMessage

View: New views
13 Messages — Rating Filter:   Alert me  

[jira] Created: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AMQP component can't send an ObjectMessage
------------------------------------------

                 Key: CAMEL-756
                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Jonathan Anstey
             Fix For: 1.5.0


Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44554#action_44554 ]

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

I tried the same test out on ActiveMQ and it works fine. This maybe an issue with Qpid itself or maybe how camel-jms interacts with Qpid.

Since sending a byte array works, a workaround for sending objects could be to get the AMQP component to serialize the object itself before sending it along to Qpid.

If there are no objections, I could submit a patch for this.

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44555#action_44555 ]

Claus Ibsen commented on CAMEL-756:
-----------------------------------

+1

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44594#action_44594 ]

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

After further inspection, this is a known Qpid bug. See: https://issues.apache.org/jira/browse/QPID-1092. The fix has been merged already so the next Qpid release should work.

As for the workaround I mentioned, it wouldn't work as well as I thought. By not using Qpid's ObjectMessage (and just using BytesMessage) Camel would have no way of knowing it had to auto deserialize the byte array back to an Object. This would actually be more confusing to the user IMO.

I guess we'll just have to wait until Qpid gets released again?



> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44602#action_44602 ]

James Strachan commented on CAMEL-756:
--------------------------------------

Yeah - lets just wait for qpid to get stable & working


> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44610#action_44610 ]

Claus Ibsen commented on CAMEL-756:
-----------------------------------

Damm they have approx 250 fixed out of 400 and its just M3 to M4. There is a long way ;)

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45467#action_45467 ]

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

FYI M3 has just passed the vote so will be available soonish. The issue in Qpid has been fixed in M3 so sending ObjectMessages should be OK... a quick test didn't work for me but maybe after a little more investigation this can be solved for Camel 1.5.

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey reassigned CAMEL-756:
-------------------------------------

    Assignee: Jonathan Anstey

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45488#action_45488 ]

Claus Ibsen commented on CAMEL-756:
-----------------------------------

Jon could you try to upgrade the dep on mina-core to the the same from the uber pom = 1.1.7

We have a conflict here:
http://activemq.apache.org/camel/maven/dependency-convergence.html

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45568#action_45568 ]

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

Unfortunately, Qpid requires MINA 1.0.1... it blows up otherwise.  

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated CAMEL-756:
----------------------------------

        Fix Version/s: 2.0.0
                           (was: 1.5.0)
    Affects Version/s: 1.5.0

M3 still isn't released. I'm moving this one to Camel 2.0

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46119#action_46119 ]

Claus Ibsen commented on CAMEL-756:
-----------------------------------

Jonathan. I just got a blog news that M3 has been released.

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46122#action_46122 ]

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

Cool stuff. Doesn't seem to be in the incubating maven repo yet but I'm sure it eventually will be.

> AMQP component can't send an ObjectMessage
> ------------------------------------------
>
>                 Key: CAMEL-756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-756
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>
> Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price