[jboss-dev-forums] [Design of JBoss jBPM] - Re: Re-using the REST facade
rmoskal
do-not-reply at jboss.com
Wed Jul 29 08:01:10 EDT 2009
That was my initial idea too. But when I do that the rest server throws errors when you try to do something like just enumerate deployed processes. They are Juel errors, property not found when the Juel script engine comes across references to beans that live on the spring context.
For the above node Juel complains it can't find nodeService3. This is just when I issue the call to list deployed proceses.
The processEngine used by the restful api will needs access to my spring context when doing things like sending signals to my app.
I noticed the rest server gets its processEngine from jndi (in JBPMIntegration). Perhaps if I were to somehow publish the processEngine embeded in my spring context onto java:/ProcessEngine that would do the trick.
Thanks for your time.
Robert
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246686#4246686
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246686
More information about the jboss-dev-forums
mailing list