- All Implemented Interfaces:
- org.apache.camel.Processor
public class UriAlreadyUsedCheckingWonMessageProcessor
extends java.lang.Object
implements org.apache.camel.Processor
Checks whether the event or atom URI is already used. It is possible that
while this check succeeds for the uri, when the time comes to save this uri
into the repository, this uri by that time will be used. TODO Therefore, the
UriAlreadyInUseException or EventAlreadyProcessedException has to also be
thrown from there. Nevertheless, to have such a separate check for the
uri-is-use problems is useful, because it can detect and react to the problem
on the early stage, before the whole message processing logic is at work.
User: ypanchenko Date: 23.04.2015