[jboss-dev-forums] [Design of JBoss ESB] - Re: Specific type of ServiceInvoker
tfennelly
do-not-reply at jboss.com
Sat Aug 4 19:25:43 EDT 2007
"mark.little at jboss.com" wrote : Why not subtype ServiceInvoker and have a specific DLQServiceInvoker?
Hmmmm... I dunno... I actually intentionally didn't do that because I'd consider that overkill. But more importantly, it would be exploding an API around ServiceInvoker, which I think is a really bad idea. We obviously shouldn't stop people extending SI, but I think we should only introduce multiple SIs into the core API as a very last resort, which this is obviously not.
If there's a general consensus against having this as a static method on ServiceInvoker, then I'd vote for just getting rid of it altogether and documenting how to do it somewhere (in the SerivceInvoker Javadoc ;-) ). I def wouldn't be voting for creating separate sub classes for doing this type of thing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070910#4070910
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070910
More information about the jboss-dev-forums
mailing list