Sorry for long response time. I will look into your patch as soon as
possible.

Cheers,
Thomas Termin

Vinod Chhabria (JIRA) wrote:
>     [ 
> https://issues.apache.org/activemq/browse/SM-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40120
>  ] 
> 
> Vinod Chhabria commented on SM-1044:
> ------------------------------------
> 
> We think this is a good enhancement to the existing predicate classes. Can 
> you please approve so we can go ahead and add this to our servicemix 
> installation. We do not want to apply any patch that will not be available in 
> future releases.
> 
> If you think this is too specific and not good enough to be added as a patch 
> to the servicemix-eip distribution, then please provide us documentation as 
> to how to include our custom predicate class to our service unit. We tried 
> doing it but it is requiring all other eip classes to be included in the 
> service unit.
> 
> Please advise so we can resolve either way.
> 
> 
>>Routing based on message property and set new property on the message in EIP 
>>content based router
>>-------------------------------------------------------------------------------------------------
>>
>>                Key: SM-1044
>>                URL: https://issues.apache.org/activemq/browse/SM-1044
>>            Project: ServiceMix
>>         Issue Type: New Feature
>>         Components: servicemix-eip
>>   Affects Versions: 3.1
>>        Environment: Windows,  JBoss-4.0.4-GA using Servicemix deployer
>>           Reporter: Srivatsan Sridharan
>>           Priority: Minor
>>        Attachments: SwitchPredicate.java, XPathPredicate.java
>>
>>
>>SwitchPredicate.java (available in Servicemix trunk) routes based on the 
>>(boolean) value of the property set on the message exchange. It would be good 
>>to have it 
>>1) route based on the value (not particularly boolean) of a property set on 
>>the message.
>>2) set additional property on the message when the evaluation of property 
>>value is true.
>>SwitchPredicate.java attached herewith has the changes to address the above.
>> 
>>XPathPredicate.java attached herewith has the changes to set additional 
>>property in the ContentBasedRouter.
>>Please let me know if this is the right approach.
> 
> 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle

Reply via email to