activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <>
Subject [jira] Assigned: (AMQ-2988) Allow to retrieve the JMSProperties when using JMS Stream (ActiveMQInputStream)
Date Mon, 25 Oct 2010 21:59:40 GMT


Timothy Bish reassigned AMQ-2988:

    Assignee: Timothy Bish

> Allow to retrieve the JMSProperties when using JMS Stream (ActiveMQInputStream)
> -------------------------------------------------------------------------------
>                 Key: AMQ-2988
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Norman Maurer
>            Assignee: Timothy Bish
>             Fix For: 5.5.0
>         Attachments: ActiveMQInputStream_JMSProps.diff, AMQ-2988_junit.diff
> When using JMS Streams (aka ActiveMQInputStream and ActiveMQOutputStream) its impossible
to retrieve the used JMS Properties which where used while writing the OutputStream.  The
only method which allows this is the ActiveMQInputStream.receive() method. But this will corrupt
the InputStream because it will remove the Message from it.
> So I think it makes sense to add a method for retrieving the Properties. I also think
the receive() method should be private or protected to guard against wrong usage ( I used
it before to retrieve the properties and wondered why it corrupted the stream).

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

View raw message