activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: JMS Headers
Date Thu, 24 Aug 2006 07:37:05 GMT
On 8/23/06, StanleyH <stanley.k.ho@gmail.com> wrote:
>
> Hi,
>
> I want to include sender screename in the headers of a BytesMessage. which
> is a good candidate? I am writing a voice-mail application.

Just attach a StringProperty to the message (it doesn't matter what
type of JMS message you are using.

Message message = ...
message.setStringProperty("ScreenName", "James");
...
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message