Re: [jboss-dev-forums] [JBoss Web Services Development] - Recent changes on CXF integration
by Alessio Soldano
Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] replied to the discussion
"Recent changes on CXF integration"
To view the discussion, visit: http://community.jboss.org/message/538641#538641
--------------------------------------------------------------
> Jim Ma ha scritto:
>
> > > Richard Opalka wrote:
> > >
> > >
> > >
> > > The performance bottleneck during deployment time isn't so significant
> > >
> > > and it can be always solved with using separate worker thread to read
> > >
> > > the CXF configuration file asynchronously when it will became an real issue.
> > >
> > > I'd say we should remove CxfServletExt lazy load of the bus because this is broken
> > >
> > > by design.
> >
> > I'm not that sure regarding the considerations on performances above, anyway I agree on saying the lazy behaviour is broken at least for some usecases. Keeping it is probably going to be a pain and causing confusion with the users.
> I found the depends deployment in jboss-web.xml does not work when remove the lazy cxf bus load. This is because the real deployment work has completely been done in BusDeploymentAspect , and does not count on TomcatDeployer/ServiceDeployer. Do we need to fix this issue?
You should not need that dependency any more. As discussed on IRC, the need for the JMS destination to be available when building the CXF Bus has to be dealt with either proper deployers ordering or dependency through sar/ear.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538641#538641]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
Re: [jboss-dev-forums] [JBoss Web Services Development] - Recent changes on CXF integration
by Jim Ma
Jim Ma [http://community.jboss.org/people/jim.ma] replied to the discussion
"Recent changes on CXF integration"
To view the discussion, visit: http://community.jboss.org/message/538629#538629
--------------------------------------------------------------
> > Richard Opalka wrote:
> >
> >
> >
> > The performance bottleneck during deployment time isn't so significant
> >
> > and it can be always solved with using separate worker thread to read
> >
> > the CXF configuration file asynchronously when it will became an real issue.
> >
> > I'd say we should remove CxfServletExt lazy load of the bus because this is broken
> >
> > by design.
>
> I'm not that sure regarding the considerations on performances above, anyway I agree on saying the lazy behaviour is broken at least for some usecases. Keeping it is probably going to be a pain and causing confusion with the users.
I found the depends deployment in jboss-web.xml does not work when remove the lazy cxf bus load. This is because the real deployment work has completely been done in BusDeploymentAspect , and does not count on TomcatDeployer/ServiceDeployer. Do we need to fix this issue?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538629#538629]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
Re: [jboss-dev-forums] [jBPM Development] - Mail template for custom MailProducer
by Kevin Moodley
Kevin Moodley [http://community.jboss.org/people/kevinmoodley] replied to the discussion
"Mail template for custom MailProducer"
To view the discussion, visit: http://community.jboss.org/message/538618#538618
--------------------------------------------------------------
Hi,
Thanks for looking into this.
Will the field tag work inside a notification tag in a task?
<task assignee="kmoodley" g="210,250,92,52" name="User Review">
<notification class="com.kevinmoodley.bpm.mail.CustomMailProducer">
<field name="templateName"> <string value="test-template"/></field>
</notification>
<transition g="-42,-18" name="CANCEL" to="end1"/>
<transition g="-42,-18" name="RESTART" to="end2"/>
</task>
I know that the xsd does not support it, but then again the class attribute in <notification> is not is the xsd either.
By the way, most user only create create a custom MailProducer to bypass the requirement of the default MailProducerImpl that mail recepients need to exist in the Indentity tables.
~~~~~~
List<User> users = identitySession.findUsersById(userIds);
~~~~~
Don't quite understand that, especially if I want the workflow to trigger an email to an external customer.
Anyway, this is not a serious issue. Moving back to the User forum now.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538618#538618]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months