this -
can I make it -
where myStrategy is a bean implementing HeaderFilterStrategy and declared in
the Spring XML as -
Regards,
Rohit
Claus Ibsen-2 wrote:
>
> On Tue, Jun 9, 2009 at 2:38 PM, rohitbrai wrote:
>>
>> Is this applicable to the Mail component also?
>>
>
Is this applicable to the Mail component also?
http://issues.apache.org/activemq/browse/CAMEL-915
"You can do this in Camel 2.0 in the URI by using the # syntax for lookup in
the registry."
Regards,
Rohit
rohitbrai wrote:
>
> How do I use a custom HeaderFilterStrategy on a
How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw the code
and I can see that SMTP component honors the HeaderFilterStrategy. But I am
not able to figure out how do I set it for the endpoint?
Thanks and Regards,
Rohit
--
View this message in context:
http://www.nabble.com/Ho
I need to set alternate PlainText body while sending mail, so the people who
are using non html mail clients can see the PlainText message. For this I
was going through the MailBinding component in a hope that I can edit it to
get this one working and found that it is already supported.
if you se
I am trying to set the content type of the mail I send using the contentType
header. That doesn't work, but it works if I put the contentType in the
endpoint uri. i.e. -
text/html
Has no effect, while this works -
smtp://roh...@xyzab.pramati
My quest to build the mail delivery system using camel is in the last mile. I
want to implement delivery retries.
The scenario is -
The mail component tries to send a mail and couldn't cause either the SMTP
server was down/rejected connection/quota there was over. So when the mailer
gets this err
;other endpoint");
>
> Spring
>
>
>
> class="org.apache.camel.component.mail.MailEndpoint">
>
>
> xmlns="http://activemq.apache.org/camel/schema/spring";>
>
>
>
>
>
>
>
> Willem
>
Found a workaround, which satisfies the requirement -
setHeader("from", constant("Dummy "))
Where Dummy is the sender name and du...@dumdum.com is the sender email.
rohitbrai wrote:
>
> I have a requirement, which should I think should be standard, that when I
&
));
else
mimeMessage.setFrom(new InternetAddress(from));
}
rohitbrai wrote:
>
> I have a requirement, which should I think should be standard, that when I
> send the mail I should be able to set the sender name also along with the
> sender email.
>
> I
I have a requirement, which should I think should be standard, that when I
send the mail I should be able to set the sender name also along with the
sender email.
Is there any way to do this??? Can I extend the MailBinding class, such that
Camel reads my class to create binding for the the mail c
; Then we can check the List Object in the Splitter's
>>>>>> createProcessorExchangePairsList() and
>>>>>> createProcessorExchangePairsIterable(), if the object in the list is
>>>>>> Message, we can set the Exchange's InMessage
>>>
is it the right approach?
Claus Ibsen-2 wrote:
>
> On Fri, May 8, 2009 at 2:58 PM, rohitbrai wrote:
>>
>> I have a message which has -
>> Header
>> "To" - "a...@sdf.com,x...@dsfsdf.com,s...@serr.com"
>> Body
>> Hello
>>
I have a message which has -
Header
"To" - "a...@sdf.com,x...@dsfsdf.com,s...@serr.com"
Body
Hello
onthis message I tried -
from("jms:queue:new.test1").splitter(header("To").tokenize(",")).to("jms:queue:new.test2");
and I was expecting 3 entries on test2 queue
Header
"To" - "a.
13 matches
Mail list logo