You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by James Strachan <ja...@yahoo.co.uk> on 2002/07/10 12:10:40 UTC
Re: Messenger DTDs, XSDs...?
From: "Spam Cut" <sp...@yahoo.com>
> Thanks for your reply. I am *somewhat* familiar with
> Digester. I know that it is common practice for
> XML->Java mapping utilities to use setter methods to
> populate beans from attributes/elements with the same
> name (setFoo(String foo) with attribute/element
> 'foo'). However, I found in another posting...
>
>
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-dev@jakarta.apac
he.org&msgId=77976
>
> ...that one could use durable subscriptions in the
> following manner:
>
> <messenger name="foo" durable="true">
> <factory transacted="true" >
> ...
>
> My question is... is there any way that I could have
> known that without reading it on the mailing list? I
> looked at the Messenger interface and I couldn't find
> a setter method such as "setDurable(boolean durable)".
> Maybe I can browse the source code... where in the
> source code is the attribute "durable" handled?
There's now a DTD for messenger.xml and subscriptions.xml. Michael Rimov
just posted them to me and they're now in CVS. Though proper documentation
for these 2 DTDs would be nice as a next step...
James
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>