You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Andrea Zoppello (JIRA)" <ji...@apache.org> on 2007/04/06 15:37:34 UTC
[jira] Created: (SM-924) Drools 31 namespace support
Drools 31 namespace support
----------------------------
Key: SM-924
URL: https://issues.apache.org/activemq/browse/SM-924
Project: ServiceMix
Issue Type: Bug
Affects Versions: 3.1
Environment: ServiceMix 3.1
Reporter: Andrea Zoppello
Attachments: drools.patch
We want to support the evaluation of xpath expressions with namespace when writing the
rule conditions on drl file
To do this we want to introduce support similar to the eip components where namespace context can
be specified.
Another thing we want to indroduce is to enable to make database checks in the drl file.
To do this we can use a DbHelper object and add a method to extract data from xpath in org.servicemix.drools.model.Message
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Resolved: (SM-924) Namespace support in servicemix-drools
Posted by Andrea Zoppello <zo...@tiscali.it>.
Hi Guillaume,
The reason of the use of jndi in the code is that the user that write
the rule want to choose dinamically the
datasource from the datasource list defined in smx he want to use and
not to bound to a particular datasource with dependency injection.
For example we want to check against to different datasource, if i put
the datasource ref in a spring configuration file
i'm bound to this.
Andrea Zoppello
Guillaume Nodet (JIRA) ha scritto:
> [ https://issues.apache.org/activemq/browse/SM-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Guillaume Nodet resolved SM-924.
> --------------------------------
>
> Resolution: Fixed
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=526251
>
> I haven't included your DbHelper in this patch because i have some concerns with it.
> As far as I understand, it forces the use of JNDI to retrieve the database, and I'd rather
> use a plain DataSource and configure it using spring (and JNDI eventually) ...
>
>
>> Namespace support in servicemix-drools
>> --------------------------------------
>>
>> Key: SM-924
>> URL: https://issues.apache.org/activemq/browse/SM-924
>> Project: ServiceMix
>> Issue Type: Improvement
>> Components: servicemix-drools
>> Affects Versions: 3.1
>> Environment: ServiceMix 3.1
>> Reporter: Andrea Zoppello
>> Assigned To: Guillaume Nodet
>> Fix For: 3.2
>>
>> Attachments: drools.patch
>>
>>
>> We want to support the evaluation of xpath expressions with namespace when writing the
>> rule conditions on drl file
>> To do this we want to introduce support similar to the eip components where namespace context can
>> be specified.
>> Another thing we want to indroduce is to enable to make database checks in the drl file.
>> To do this we can use a DbHelper object and add a method to extract data from xpath in org.servicemix.drools.model.Message
>>
>
>
[jira] Resolved: (SM-924) Namespace support in servicemix-drools
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-924.
--------------------------------
Resolution: Fixed
URL: http://svn.apache.org/viewvc?view=rev&rev=526251
I haven't included your DbHelper in this patch because i have some concerns with it.
As far as I understand, it forces the use of JNDI to retrieve the database, and I'd rather
use a plain DataSource and configure it using spring (and JNDI eventually) ...
> Namespace support in servicemix-drools
> --------------------------------------
>
> Key: SM-924
> URL: https://issues.apache.org/activemq/browse/SM-924
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-drools
> Affects Versions: 3.1
> Environment: ServiceMix 3.1
> Reporter: Andrea Zoppello
> Assigned To: Guillaume Nodet
> Fix For: 3.2
>
> Attachments: drools.patch
>
>
> We want to support the evaluation of xpath expressions with namespace when writing the
> rule conditions on drl file
> To do this we want to introduce support similar to the eip components where namespace context can
> be specified.
> Another thing we want to indroduce is to enable to make database checks in the drl file.
> To do this we can use a DbHelper object and add a method to extract data from xpath in org.servicemix.drools.model.Message
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-924) Namespace support in servicemix-drools
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-924:
-------------------------------
Component/s: servicemix-drools
Fix Version/s: 3.2
Assignee: Guillaume Nodet
Issue Type: Improvement (was: Bug)
Summary: Namespace support in servicemix-drools (was: Drools 31 namespace support)
> Namespace support in servicemix-drools
> --------------------------------------
>
> Key: SM-924
> URL: https://issues.apache.org/activemq/browse/SM-924
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-drools
> Affects Versions: 3.1
> Environment: ServiceMix 3.1
> Reporter: Andrea Zoppello
> Assigned To: Guillaume Nodet
> Fix For: 3.2
>
> Attachments: drools.patch
>
>
> We want to support the evaluation of xpath expressions with namespace when writing the
> rule conditions on drl file
> To do this we want to introduce support similar to the eip components where namespace context can
> be specified.
> Another thing we want to indroduce is to enable to make database checks in the drl file.
> To do this we can use a DbHelper object and add a method to extract data from xpath in org.servicemix.drools.model.Message
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.