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/03/20 18:58:35 UTC

[jira] Created: (SM-888) In the Drool 3.1 component is not possible to specify a default target service

In the Drool 3.1 component is not possible to specify a default target service
------------------------------------------------------------------------------

                 Key: SM-888
                 URL: https://issues.apache.org/activemq/browse/SM-888
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-drools
    Affects Versions: 3.1
            Reporter: Andrea Zoppello
         Attachments: DroolsEndpoint.java.diff

It can be util to specify a  default "target service" where the  message will be routed if no one of the
rule specified in thre rulebase file has been executed


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-888) In the Drool 3.1 component is not possible to specify a default target service

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-888:
-------------------------------

    Attachment: DroolsEndpoint.java.diff

I've missed to add the control of exchange status after firing rules before routing
to default target service

> In the Drool 3.1 component is not possible to specify a default target service
> ------------------------------------------------------------------------------
>
>                 Key: SM-888
>                 URL: https://issues.apache.org/activemq/browse/SM-888
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-drools
>    Affects Versions: 3.1
>            Reporter: Andrea Zoppello
>         Attachments: DroolsEndpoint.java.diff, DroolsEndpoint.java.diff
>
>
> It can be util to specify a  default "target service" where the  message will be routed if no one of the
> rule specified in thre rulebase file has been executed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-888) In the Drool 3.1 component is not possible to specify a default target service

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-888:
-------------------------------

    Patch Info: [Patch Available]

> In the Drool 3.1 component is not possible to specify a default target service
> ------------------------------------------------------------------------------
>
>                 Key: SM-888
>                 URL: https://issues.apache.org/activemq/browse/SM-888
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-drools
>    Affects Versions: 3.1
>            Reporter: Andrea Zoppello
>         Attachments: DroolsEndpoint.java.diff, DroolsEndpoint.java.diff
>
>
> It can be util to specify a  default "target service" where the  message will be routed if no one of the
> rule specified in thre rulebase file has been executed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-888) In the Drool 3.1 component is not possible to specify a default target service

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38982 ] 

Andrea Zoppello commented on SM-888:
------------------------------------

Hi Guillaume,

I've alredy think to the solution to put a default rule at the end of the file.

Some of my consideration are due to the fact that i'm supporting a "Semantic Validator component" in cimero where i need to visually drag an arrow from the semantic validator to the default target service if there are no error and in  cimero code the concept of the destination service is very easy to support.

But your solution is ok too. I need to modify the code of cimero so when the user drag the arrow to the destination service it will generate the default rule.

Andrea Zoppello 

> In the Drool 3.1 component is not possible to specify a default target service
> ------------------------------------------------------------------------------
>
>                 Key: SM-888
>                 URL: https://issues.apache.org/activemq/browse/SM-888
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-drools
>    Affects Versions: 3.1
>            Reporter: Andrea Zoppello
>         Attachments: DroolsEndpoint.java.diff, DroolsEndpoint.java.diff
>
>
> It can be util to specify a  default "target service" where the  message will be routed if no one of the
> rule specified in thre rulebase file has been executed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-888) In the Drool 3.1 component is not possible to specify a default target service

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38979 ] 

Guillaume Nodet commented on SM-888:
------------------------------------

I'm thinking that we could use the full uri instead of the service QName, that would allow for more possibiliites.

However, isn't that feature natively handled by a rule put at the bottom of the DRL like this one:
{code}
rule "Default routing rule"
	when
		me : Exchange( status == Exchange.ACTIVE, in : in != null )
	then
		jbi.route( "service:ns:svc" );
end
{code}

I'm wondering about the actual need for this patch ?
What do you think ?

> In the Drool 3.1 component is not possible to specify a default target service
> ------------------------------------------------------------------------------
>
>                 Key: SM-888
>                 URL: https://issues.apache.org/activemq/browse/SM-888
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-drools
>    Affects Versions: 3.1
>            Reporter: Andrea Zoppello
>         Attachments: DroolsEndpoint.java.diff, DroolsEndpoint.java.diff
>
>
> It can be util to specify a  default "target service" where the  message will be routed if no one of the
> rule specified in thre rulebase file has been executed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.