
META-INF.spring.error-handlers.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Unless explicitly acquired and licensed from Licensor under another license, the contents of this file are subject to the Reciprocal Public License ("RPL") Version 1.5, or subsequent versions as allowed by the RPL, and You may not copy or use this file in either source code or executable form, except in compliance with the terms and conditions of the RPL All software distributed under the RPL is provided strictly on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the RPL for specific language governing rights and limitations under the RPL. http://opensource.org/licenses/RPL-1.5 Copyright 2012-2015 Open Justice Broker Consortium --> <!-- This file defines endpoints and beans to handle failed delivery and email notification of the failures --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" xmlns:nc="http://niem.gov/niem/niem-core/2.0" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd "> <camel:endpoint id="deadLetterDirIdentifcationRecording" uri="file:///${identificationReportingService.intermediaryFailed}/deadLetter/?idempotent=true&moveFailed=error&move=processed/" /> <!-- here we configure our DeadLetterChannel for incident report redelivery --> <camel:errorHandler id="identifcationReportErrorHandler" type="DeadLetterChannel" deadLetterUri="deadLetterDirIdentifcationRecording"> <camel:redeliveryPolicy maximumRedeliveries="${maximumRedeliveries}" redeliveryDelay="${redeliveryDelay}" logHandled="true" asyncDelayedRedelivery="true" logStackTrace="true"/> </camel:errorHandler> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy