blob: 608874d31ee6a30290e4aac15f5e63ac6bfba0da [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
/***********************************************************************************************************************
* Copyright (c) 2008 empolis GmbH and brox IT Solutions GmbH. All rights reserved. This program and the accompanying
* materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: Ivan Churkin (brox IT Solutions GmbH) - initial creator
**********************************************************************************************************************/
-->
<ListenerConfig xmlns="http://www.eclipse.org/smila/queue"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/QueueWorkerConfig.xsd"
>
<Rule Name="Default ADD Rule" WaitMessageTimeout="10">
<Source BrokerId="broker1" Queue="queue1"/>
<Condition>Operation='ADD' and someJMSProperty='someValue'</Condition>
<Task>
<Process Workflow="some-workflow"/>
<Send BrokerId="broker2" Queue="queue2" RecordFilter="F2">
<SetProperty Name="doAdd">yes</SetProperty>
<SetProperty Name="doSomething">no</SetProperty>
</Send>
</Task>
</Rule>
</ListenerConfig>