[jira] Commented: (SM-1044) Routing based on message property and set new property on the message in EIP content based router
[ https://issues.apache.org/activemq/browse/SM-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40295 ] Srivatsan Sridharan commented on SM-1044: - Thanks Guillaume. We have implemented our own Predicates as the requirement is too specific. Closing this issue. 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SM-1044) Routing based on message property and set new property on the message in EIP content based router
[ https://issues.apache.org/activemq/browse/SM-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srivatsan Sridharan closed SM-1044. --- Resolution: Fixed Implemented custom Predicates. 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1045) Servicemix tooling changes to generate JBISharedLibraryDescriptor
[ https://issues.apache.org/activemq/browse/SM-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srivatsan Sridharan updated SM-1045: Attachment: (was: GenerateServiceAssemblyDescriptorMojo_3.1_diff.txt) Servicemix tooling changes to generate JBISharedLibraryDescriptor - Key: SM-1045 URL: https://issues.apache.org/activemq/browse/SM-1045 Project: ServiceMix Issue Type: New Feature Components: tooling Affects Versions: 3.1 Environment: Windows, JBOSS 4.0.4-GA using servicemix deployment Reporter: Srivatsan Sridharan Attachments: GenerateServiceAssemblyDescriptorMojo.java This is the patch that we have come up with for addrressing the issue detailed in this link http://www.nabble.com/Deploying-multiple-versions-of-service-units-using-artifactId-filtering-tf4215049s12049.html#a11991823 Please let me know if the approach is correct. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1045) Servicemix tooling changes to generate JBISharedLibraryDescriptor
[ https://issues.apache.org/activemq/browse/SM-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srivatsan Sridharan updated SM-1045: Attachment: GenerateServiceAssemblyDescriptorMojo_3.1_diff.txt Diff between the trunk and this version shows up lot of differences due to formatting changes. Attached file GenerateServiceAssemblyDescriptorMojo_3.1_diff.txt shows the differences with the SM 3.1 version of the file GenerateServiceAssemblyDescriptorMojo.java. Servicemix tooling changes to generate JBISharedLibraryDescriptor - Key: SM-1045 URL: https://issues.apache.org/activemq/browse/SM-1045 Project: ServiceMix Issue Type: New Feature Components: tooling Affects Versions: 3.1 Environment: Windows, JBOSS 4.0.4-GA using servicemix deployment Reporter: Srivatsan Sridharan Attachments: GenerateServiceAssemblyDescriptorMojo.java, GenerateServiceAssemblyDescriptorMojo_3.1_diff.txt This is the patch that we have come up with for addrressing the issue detailed in this link http://www.nabble.com/Deploying-multiple-versions-of-service-units-using-artifactId-filtering-tf4215049s12049.html#a11991823 Please let me know if the approach is correct. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SM-1045) Servicemix tooling changes to generate JBISharedLibraryDescriptor
Servicemix tooling changes to generate JBISharedLibraryDescriptor - Key: SM-1045 URL: https://issues.apache.org/activemq/browse/SM-1045 Project: ServiceMix Issue Type: New Feature Components: tooling Affects Versions: 3.1 Environment: Windows, JBOSS 4.0.4-GA using servicemix deployment Reporter: Srivatsan Sridharan Attachments: GenerateServiceAssemblyDescriptorMojo.java This is the patch that we have come up with for addrressing the issue detailed in this link http://www.nabble.com/Deploying-multiple-versions-of-service-units-using-artifactId-filtering-tf4215049s12049.html#a11991823 Please let me know if the approach is correct. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.