Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SMILA/Documentation/QueueWorker/Router"

(Replacing page with '{{note|This has been removed in SMILA 0.9 by the JobManager framework}}')
 
Line 1: Line 1:
== What is Router==
+
{{note|This has been removed in SMILA 0.9 by the [[SMILA/Documentation/JobManager|JobManager framework]]}}
 
+
The main goal of Router is to put Record into JMS queue but it also make any [[SMILA/Documentation/QueueWorker|Queue Worker]] specific tasks like executing BPEL piplene. For Tasks information see page See [[SMILA/Documentation/QueueWorker/Tasks|Router/Listener Tasks]]
+
 
+
== Interface ==
+
 
+
<source lang="java">
+
public enum Operation {
+
  ADD,
+
  DELETE,
+
  NONE
+
}
+
</source>
+
 
+
<source lang="java">
+
public interface Router extends QueueWorker {
+
  void route(Record record, Operation operation) throws RouterException;
+
}
+
</source>
+
 
+
== Configuration ==
+
Schema: "org.eclipse.smila.connectivity.queue.worker/schemas/QueueWorkerConfig.xsd"
+
Location: "configuration/org.eclipse.smila.connectivity.queue.worker.jms/RouterConfig.xml"
+
 
+
Configuration is a list of routing rules.
+
 
+
== Condition ==
+
Processing Rule is found by value of Condition tag.
+
Condition is a String whose syntax is based on a subset of the SQL92 conditional expression syntax pointed in JMS specification. [[http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html | spec]]
+
 
+
For Router it operates with two properties
+
* Operation
+
* DataSourceID
+
 
+
 
+
== Tasks ==
+
See [[SMILA/Documentation/QueueWorker/Tasks|Router/Listener Tasks]] page for tasks configuration.
+
 
+
== Samples ==
+
See [[SMILA/Documentation/QueueWorker/ConfigurationSamples|samples]] page.
+
 
+
[[Category:SMILA]]
+

Latest revision as of 06:00, 24 January 2012

Note.png
This has been removed in SMILA 0.9 by the JobManager framework

Back to the top