You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org> on 2009/02/25 10:59:01 UTC
[jira] Commented: (QPID-1684) Object of a JMS ObjectMessage is
nullify after the first access
[ https://issues.apache.org/jira/browse/QPID-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676581#action_12676581 ]
Arnaud Simon commented on QPID-1684:
------------------------------------
Solved: Revision: 747722
public class JMSObjectMessage extends AbstractJMSMessage implements ObjectMessage
{
@@ -157,7 +153,7 @@
}
finally
{
- _data.rewind();
+ // _data.rewind();
close(in);
}
}
> Object of a JMS ObjectMessage is nullify after the first access
> -----------------------------------------------------------------
>
> Key: QPID-1684
> URL: https://issues.apache.org/jira/browse/QPID-1684
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M4
> Reporter: Arnaud Simon
> Assignee: Arnaud Simon
> Fix For: M5
>
>
> Description:
> The object of a JMS ObjectMessage can only be accessed once. The object is returned the first time it is accessed using the method getObject and any subsequent access returns null. A side effect is that logged messages are sent to the broker with an empty body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org