I have a mapping that takes several properties of incoming JSON document and combines them into single property of the outgoing JSON document. If using COMBINE mapping type an AtlasConversionException exception is thrown.
11:04:32.630 [HttpClient@2027587999-23] WARN i.atlasmap.json.core.JsonFieldReader - Detected unsupported json type for field p=/FirstName docId=Lead
11:04:32.664 [HttpClient@2027587999-23] ERROR o.a.c.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-sf2sql-lead-6-5c5ph-1507547034998-0-2 on ExchangeId: ID-sf2sql-lead-6-5c5ph-1507547034998-0-1). Exhausted after delivery attempt: 1 caught: io.atlasmap.api.AtlasConversionException: Converter not found for sourceType: STRING targetType: UNSUPPORTED
Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId ProcessorId Processor Elapsed (ms)
[flow1 ] [flow1 ] [salesforce-on-create-component://syndesis_Lead_create?notifyForFields=ALL¬i] [ 654]
[flow1 ] [to1 ] [atlas:mapping-step-2.json ] [ 648]
Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
io.atlasmap.api.AtlasConversionException: Converter not found for sourceType: STRING targetType: UNSUPPORTED
at io.atlasmap.core.DefaultAtlasConversionService.convertType(DefaultAtlasConversionService.java:274)
at io.atlasmap.core.DefaultAtlasFieldActionService.processActions(DefaultAtlasFieldActionService.java:115)
at io.atlasmap.core.BaseAtlasModule.processFieldActions(BaseAtlasModule.java:427)
at io.atlasmap.core.BaseAtlasModule.processInputActions(BaseAtlasModule.java:71)
at io.atlasmap.core.DefaultAtlasContext.process(DefaultAtlasContext.java:184)
at org.apache.camel.component.atlasmap.AtlasEndpoint.onExchange(AtlasEndpoint.java:216)
at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)
at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:157)
at org.apache.camel.processor.Enricher$1.done(Enricher.java:237)
at org.apache.camel.component.salesforce.internal.processor.JsonRestProcessor.processResponse(JsonRestProcessor.java:218)
at org.apache.camel.component.salesforce.internal.processor.AbstractRestProcessor$6.onResponse(AbstractRestProcessor.java:381)
at org.apache.camel.component.salesforce.internal.client.DefaultRestClient$DelegatingClientCallback.onResponse(DefaultRestClient.java:503)
at org.apache.camel.component.salesforce.internal.client.AbstractClientBase$1.onComplete(AbstractClientBase.java:218)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:459)
at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:297)
at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1067)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1392)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:170)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:131)
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70)
at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:130)
at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:116)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:289)
at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:149)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
I have a mapping that takes several properties of incoming JSON document and combines them into single property of the outgoing JSON document. If using
COMBINE
mapping type an AtlasConversionException exception is thrown.mapping.json
console log with exception
incoming JSON body