You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by StanleyH <st...@gmail.com> on 2006/08/23 22:48:22 UTC
JMS Headers
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.
stanley
--
View this message in context: http://www.nabble.com/JMS-Headers-tf2154811.html#a5952455
Sent from the ActiveMQ - User forum at Nabble.com.
Re: JMS Headers
Posted by James Strachan <ja...@gmail.com>.
On 8/23/06, StanleyH <st...@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/