Thanks.

Lukas

On Thu, Dec 15, 2011 at 1:12 PM, Oleg Kalnichevski <[email protected]> wrote:

> On Thu, 2011-12-15 at 10:52 +0100, Lukáš Vlček wrote:
> > Hi,
> >
> > is MessageBuilder#parseMessage thread safe?
>
> MessageBuilder interface is immutable and is expected to be state-less.
> Therefore, it is also expected to be thread-safe. DefaultMessageBuilder
> is conditionally thread-safe but it is also cheap, so it is perfectly ok
> to create a new instance of it for each message.
>
> Oleg
>
>
>

Reply via email to