-
1. Re: MultipleVFSParsingDeployer on HornetQ
alesj Mar 11, 2010 5:21 AM (in response to clebert.suconic)This would mean we need to handle multiple suffixes matching multiple names.It's definitely doable, and you're welcome to contribute, but unfortunately it's not < 15min work. ;-)
If this is what you eventually need, you can go back to your previous 2-copy deployers.
As that is not wrong, specially when you're targeting suffix matching,
but in your current case I saw you're actually matching exact names, hence I changed it to multi deployers.
Multi deployers are mostly meant for merging metadata, as in the case of RAR metadata.
e.g. ra.xml + jboss-ra.xml --> common/single RAR metadata
-
2. Re: MultipleVFSParsingDeployer on HornetQ
alesj Mar 11, 2010 5:28 AM (in response to alesj)If this is what you eventually need, you can go back to your previous 2-copy deployers.
As that is not wrong, specially when you're targeting suffix matching,
Thinking about it a bit more, just noticed you need to be careful here not to override the attachment info.
e.g.
* you're matching -a.xml and -b.xml
* deployment contains both files; foo-a.xml and bar-b.xml
* both will be put under Configuration.class attachment key (by default)
* override of info
--> meaning you need to override the attachmentKey property on the deployer