SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker
Interface Router

All Superinterfaces:
QueueWorker
All Known Implementing Classes:
RouterImpl

public interface Router
extends QueueWorker

The Interface Router.


Method Summary
 java.util.Map<Id,java.lang.Exception> route(Record[] record, Operation operation)
          Route record.
 
Methods inherited from interface org.eclipse.smila.connectivity.queue.worker.QueueWorker
start, stop
 

Method Detail

route

java.util.Map<Id,java.lang.Exception> route(Record[] record,
                                            Operation operation)
                                            throws RouterException
Route record.

Parameters:
record - the record
operation - the operation
Returns:
a Map of Id and exceptions if certain records could not be routed
Throws:
RouterException - the router exception

SMILA (incubation) API documentation