Symptom
Certain e-mails remain in the mailbox and are not processed by Cloud Integration:
- The Message Processing might not start at all.
- The Message Processing starts, but new Message Processing Logs appear in the Message Monitor with each poll, remaining in the status "PROCESSING" and eventually changing to "ABANDONDED". The logs indicate the message could not be polled.
The following error might be seen in the Cloud Integration traces:
<TIMESTAMP>#+00#ERROR#org.apache.camel.component.mail.MailConsumer##anonymous#scheduler-mail2_Worker-3####na#na#na#na#Caused by: [org.apache.camel.RuntimeCamelException - Error populating the initial mail message attachments]org.apache.camel.RuntimeCamelException: Error populating the initial mail message attachments
at org.apache.camel.component.mail.MailMessage.populateInitialAttachments(MailMessage.java:135)
at org.apache.camel.impl.DefaultMessage.createAttachments(DefaultMessage.java:271)
at org.apache.camel.impl.DefaultMessage.getAttachmentObjects(DefaultMessage.java:357)
at org.apache.camel.impl.DefaultMessage.getAttachments(DefaultMessage.java:350)
at org.apache.camel.component.mail.MailConsumer.createExchange(MailConsumer.java:385)
at org.apache.camel.component.mail.MailConsumer.retrieveMessages(MailConsumer.java:307)
at org.apache.camel.component.mail.MailConsumer.poll(MailConsumer.java:152)
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
at org.apache.camel.pollconsumer.quartz2.QuartzScheduledPollConsumerJob.execute(QuartzScheduledPollConsumerJob.java:61)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.IllegalArgumentException: name must be specified and not empty
at org.apache.camel.util.StringHelper.notEmpty(StringHelper.java:335)
at org.apache.camel.component.mail.DelegatingDataSource.<init>(DelegatingDataSource.java:35)
at org.apache.camel.component.mail.MailBinding.extractAttachmentsFromMultipart(MailBinding.java:338)
at org.apache.camel.component.mail.MailBinding.extractAttachmentsFromMail(MailBinding.java:299)
at com.sap.esb.camel.mail.endpoint.configurator.mail.impl.trace.TraceMailBindingWithDelegation.extractAttachmentsFromMail(TraceMailBindingWithDelegation.java:60)
at org.apache.camel.component.mail.MailMessage.populateInitialAttachments(MailMessage.java:132)
... 11 common frames omitted
Read more...
Environment
- SAP Cloud Integration
- SAP Integration Suite
Product
Keywords
SAP Cloud Integration, Mail Adapter, Message Processing Logs, Invalid Message Format, CPI, Mail Sender Adapter , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.