Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro org.xml.sax.SAXNotRecognizedException ao tentar executar a fila

Bom dia, criei o codigo que recebe da fila (from("activemq:queue:pedidos") e envia para web service.

Porém está dando erro e nao acessa a fila ( nao diminui o valor da fila )

WARN 10:39:59.156 - Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
    at org.apache.xerces.jaxp.validation.XMLSchemaFactory.setProperty(Unknown Source) ~[xercesImpl-2.8.0.jar:?]
    at org.apache.camel.processor.validation.SchemaReader.createSchemaFactory(SchemaReader.java:178) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.validation.SchemaReader.getSchemaFactory(SchemaReader.java:152) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.validation.SchemaReader.createSchema(SchemaReader.java:191) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.validation.SchemaReader.loadSchema(SchemaReader.java:84) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.component.validator.ValidatorEndpoint.createProducer(ValidatorEndpoint.java:119) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:573) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:168) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:248) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:80) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1472) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:160) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75) [camel-core-2.20.2.jar:2.20.2]
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60) [camel-core-2.20.2.jar:2.20.2]
1 resposta
solução!

Marco, você acabou duplicando a dúvida, vou fechar essa e a galera te ajuda na outra