You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Brian Taylor (JIRA)" <ji...@apache.org> on 2008/11/11 20:46:06 UTC

[jira] Updated: (SM-1683) Setting XML Attributes in Messages & Auto Reply to support InOut w/o calling answer()/route() in .drl files

     [ https://issues.apache.org/activemq/browse/SM-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Taylor updated SM-1683:
-----------------------------

    Attachment: DroolsComponentTest.java

> Setting XML Attributes in Messages & Auto Reply to support InOut w/o calling answer()/route() in .drl files
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1683
>                 URL: https://issues.apache.org/activemq/browse/SM-1683
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-drools
>    Affects Versions: 3.2.3
>         Environment: Patch to Drools SE build 3.2.2-712210
>            Reporter: Brian Taylor
>            Assignee: Gert Vanthienen
>             Fix For: 3.2.3
>
>         Attachments: AutoReply.drl, DroolsComponentTest.java, XPathAttrMod-XPathAttr.drl
>
>
> Wasn't able to test because I couldn't get a JBI instance to initialize (jbi.ini()) in the DroolsComponentTest.
> XML Attribute updating ability:
> Message.java:
> +Added setAttributeWithValue() & setAttributeWithAttribute()
> Auto Reply:
> DroolsEndpoint.java:
> +Added feature to drools()
> DroolsExecutionContext.java
> +Added answer() as wrapper to JbiHelper to support Auto Reply
> Improve Consistency:
> Exchange.java:
> +Added IN_MESSAGE & OUT_MESSAGE
> JbiHelper.java:
> +Used Exchange.IN_MESSAGE & Exchange.OUT_MESSAGE
> +Added JBI_HELPER_KEY
> Testing:
> DroolsComponentTest.java
> +Added testAutoReply(), testModifyXMLWithAValue(), testModifyXMLWithAnAttribute()
> AutoReply.drl, XPathAttrMod-StringValue.drl, XPathAttrMod-XPathAttr.drl

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