qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Jansen (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-2058) SessionImpl::send can't send "fresh" frames
Date Wed, 19 Aug 2009 01:23:14 GMT

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

Cliff Jansen updated QPID-2058:
-------------------------------

    Attachment: SessionImpl.patch

> SessionImpl::send can't send "fresh" frames
> -------------------------------------------
>
>                 Key: QPID-2058
>                 URL: https://issues.apache.org/jira/browse/QPID-2058
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.6
>         Environment: Windows
>            Reporter: Cliff Jansen
>         Attachments: SessionImpl.patch
>
>
> In 0.5, this method could be used to send a message, consisting of a
> command and separate frame set (consisting of AMQHeaderBody and
> AMQContentBody frames), or a complete frame set (with the initial
> command in the frame set discarded):
>   Future SessionImpl::send(const AMQBody& command, const FrameSet& content)
> In 0.6, the frame set is re-routed to a MethodContentAdaptor which
> either hits an exception (for a frame set without initial command),
> or, for a "complete" frame set, converts the frames into a single
> string to reconvert back to individual frames (presumably to adjust
> for different frame sizes between connections).
> Perhaps there is some other characteristic of the cluster related
> frames (other than isCompleted()) that distinguishes them from a
> "fresh" set (e.g. hasExchange())?
> Or possibly a separate command can be used for the cluster case whose
> intension is to specifically NOT send the frame set provided as the
> "content" parameter.
> If neither of those suggestions lead anywhere, the upcoming patch
> works for the case of a frame set that lacks a command (method) as its
> first frame, and "works for me", but I don't have a cluster setup to
> check for unwanted consequences.

-- 
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


Mime
View raw message