Announcement Announcement Module
Collapse
No announcement yet.
no value available for the 'MailHeaders.TO' header Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • no value available for the 'MailHeaders.TO' header

    Hi,

    I am getting the exception "ERROR: org.springframework.integration.handler.LoggingHan dler - java.lang.IllegalStateException: no value available for the 'MailHeaders.TO' header" on and off when I am using
    Code:
    mail:outbound-channel-adapter
    to send out mail. I am using
    Code:
    mail:header-enricher
    to configure the MailHeaders.TO, SUBJECT, FROM, REPLY-TO. However the exception happened randomly and I am just wondering what is the caused of the illegalStateException here.

    FYI, I am using version 1.0.3.

  • #2
    It would be really great if you could log an issue for this with, preferably with a small project that shows the error. As you say it's intermittent, so it might be hard to do, but a main method doing the same thing 100 times might be good enough.

    To be honest, with the information you have provided, I would hardly know where to start looking.

    Comment

    Working...
    X