On 11/16/06, James Strachan <[EMAIL PROTECTED]> wrote:
On 11/16/06, Hiram Chirino <[EMAIL PROTECTED]> wrote:
> Ok.
>
> Why does the producer need to decide if the stream is sent out of band or 
not??


I see what you mean now.

Otherwise how would ActiveMQ know whether or not to send a URL or the
contents of the file? e.g. ActiveMQ can't really guess if

 new URL("file://foo/bar")

needs to be sent out of band or in-band? Only the producer can know if
the thing its passing to ActiveMQ is a valid in-band or out-of-band
thing.

It is completely obvious for InputStream that its not out-of-band
though - am more thinking for URL/File where it may or may not be out
of band

--

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



--
Regards,
Hiram

Blog: http://hiramchirino.com

Reply via email to