Re: mca rules - what triggers the service-mca to start?

Posted by David E Jones-2 on
URL: http://ofbiz.116.s1.nabble.com/mca-rules-what-triggers-the-service-mca-to-start-tp141172p141173.html


I reviewed this recently to cover it in the new advanced framework  
package. There is a test MCA rule and corresponding service in the  
common component that might be helpful.

You do also need to setup your mail server in the ofbiz-
containers.xml file in addition to what you described, but that's  
really about it.

-David


On Aug 4, 2006, at 12:26 PM, Ruth Hoffman wrote:

> Hello All:
> Quick question - Si Chen provided a really nice description of how  
> to use mca's to sort incoming mail (see jira #OFBIZ-628 - 20/March/
> 06), but I'm wondering, how does the mca get triggered initially in  
> this case? Does putting the mca definition in the ofbiz-
> component.xml file cause this rule to fire?
>
> If I follow Si's suggestions, I can see the mca is loaded (in the  
> log file) but, if I put a debug statement on the first line in the  
> CommonServices.mcaTest.java, it never gets called, so I think maybe  
> the service is never triggered?
>
> Anything else I need to configure?
>
> TIA
> Ruth