回复: Email attachment lost with poll enrich

2023-09-06 Thread _ Jane
Hi Daniel,

Thanks for your reply!

I've tried "org.apache.camel.component.mail.SplitAttachmentsExpression". It 
failed because it used safeCopyProperties "CamelAttachmentObjects" to get email 
attachment as well.


发件人: Daniel Langevin 
发送时间: 2023年9月7日 0:35
收件人: users@camel.apache.org 
主题: RE: Email attachment lost with poll enrich

Hi,

You can try  "org.apache.camel.component.mail.SplitAttachmentsExpression"


Here a part of my code to achieve with attachment, hope it's Help


Daniel

,,,
,,,
,,,


 


result="null" 


   def MimeUtility = new javax.mail.internet.MimeUtility();
   if (request.headers['CamelSplitAttachmentId'] != null ) {
   result = 
MimeUtility.decodeText(request.headers['CamelSplitAttachmentId']);
  }
  else {
   result = "null" ;
  }
 result = result.replaceAll('/','_');

 






${header.attchName} != "null"
  ${header.CamelSplitAttachmentId.replaceAll('/','_')}


RE: Email attachment lost with poll enrich

2023-09-06 Thread Daniel Langevin
Hi,

You can try  "org.apache.camel.component.mail.SplitAttachmentsExpression"


Here a part of my code to achieve with attachment, hope it's Help


Daniel

,,,
,,,
,,,


 


result="null" 


   def MimeUtility = new javax.mail.internet.MimeUtility();
   if (request.headers['CamelSplitAttachmentId'] != null ) {
   result = 
MimeUtility.decodeText(request.headers['CamelSplitAttachmentId']);
  }
  else {
   result = "null" ;
  }
 result = result.replaceAll('/','_');

 






${header.attchName} != "null"
  ${header.CamelSplitAttachmentId.replaceAll('/','_')}


Re: [VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread Claudio Miranda
+1 non binding



-- 
  Claudio Miranda

clau...@claudius.com.br
http://www.claudius.com.br


Re: [VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread Otavio Rodolfo Piske
+1 (binding)

Thanks Andrea!

On Wed, Sep 6, 2023 at 12:11 PM Christoph Deppisch
 wrote:

> +1 (binding)
>
> Many thanks!
>
>
> Andrea Cosentino  schrieb am Mi., 6. Sept. 2023, 08:51:
>
> > Hello all,
> >
> > This is a vote for releasing camel-kamelets 4.0.0
> >
> > This release will support the first 4.0.0 stable release of Apache Camel.
> >
> > Kamelets release files:
> > https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.0.0
> > Kamelets staging repository:
> > https://repository.apache.org/content/repositories/orgapachecamel-1607
> > Kamelets Tag:
> > https://github.com/apache/camel-kamelets/releases/tag/v4.0.0
> >
> > Please cast your vote.
> >
> > [ ] +1 Release camel-kamelets 4.0.0
> > [ ] -1 Veto the release (provide specific comments)
> >
> > The vote is open for at least 72 hours.
> >
> > Here's my +1.
> >
> > Thanks,
> > Andrea Cosentino
> >
>


-- 
Otavio R. Piske
http://orpiske.net


Re: [VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread Christoph Deppisch
+1 (binding)

Many thanks!


Andrea Cosentino  schrieb am Mi., 6. Sept. 2023, 08:51:

> Hello all,
>
> This is a vote for releasing camel-kamelets 4.0.0
>
> This release will support the first 4.0.0 stable release of Apache Camel.
>
> Kamelets release files:
> https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.0.0
> Kamelets staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1607
> Kamelets Tag:
> https://github.com/apache/camel-kamelets/releases/tag/v4.0.0
>
> Please cast your vote.
>
> [ ] +1 Release camel-kamelets 4.0.0
> [ ] -1 Veto the release (provide specific comments)
>
> The vote is open for at least 72 hours.
>
> Here's my +1.
>
> Thanks,
> Andrea Cosentino
>


InterceptSendToEndpoint and access the intercepted endpoint details?

2023-09-06 Thread Mikael Koskinen
Hi,

If I'm intercepting (using InterceptSendToEndpoint) the exchange before it
is sent to an endpoint, can I somehow access the details of the endpoint
which I intercepted?

For example if I have Log-component in my route and I use
InterceptSendToEndpoint to intercept the request, can I somehow check the
details of the intercepted Log-component (like parameters etc.)?

Thank you in advance.

Best regards,
Mikael


Re: [VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread zineb bendhiba
+1 (binding)

Thanks Andrea

Zineb Bendhiba 

> Le 6 sept. 2023 à 08:51, Andrea Cosentino  a écrit :
> 
> Hello all,
> 
> This is a vote for releasing camel-kamelets 4.0.0
> 
> This release will support the first 4.0.0 stable release of Apache Camel.
> 
> Kamelets release files:
> https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.0.0
> Kamelets staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1607
> Kamelets Tag:
> https://github.com/apache/camel-kamelets/releases/tag/v4.0.0
> 
> Please cast your vote.
> 
> [ ] +1 Release camel-kamelets 4.0.0
> [ ] -1 Veto the release (provide specific comments)
> 
> The vote is open for at least 72 hours.
> 
> Here's my +1.
> 
> Thanks,
> Andrea Cosentino


Re: [VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread Pasquale Congiusti
+1 (binding)

Thanks Andrea!

Pasquale.

On Wed, Sep 6, 2023 at 8:51 AM Andrea Cosentino  wrote:

> Hello all,
>
> This is a vote for releasing camel-kamelets 4.0.0
>
> This release will support the first 4.0.0 stable release of Apache Camel.
>
> Kamelets release files:
> https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.0.0
> Kamelets staging repository:
> https://repository.apache.org/content/repositories/orgapachecamel-1607
> Kamelets Tag:
> https://github.com/apache/camel-kamelets/releases/tag/v4.0.0
>
> Please cast your vote.
>
> [ ] +1 Release camel-kamelets 4.0.0
> [ ] -1 Veto the release (provide specific comments)
>
> The vote is open for at least 72 hours.
>
> Here's my +1.
>
> Thanks,
> Andrea Cosentino
>


[VOTE] Release Apache Camel Kamelets 4.0.0

2023-09-06 Thread Andrea Cosentino
Hello all,

This is a vote for releasing camel-kamelets 4.0.0

This release will support the first 4.0.0 stable release of Apache Camel.

Kamelets release files:
https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.0.0
Kamelets staging repository:
https://repository.apache.org/content/repositories/orgapachecamel-1607
Kamelets Tag:
https://github.com/apache/camel-kamelets/releases/tag/v4.0.0

Please cast your vote.

[ ] +1 Release camel-kamelets 4.0.0
[ ] -1 Veto the release (provide specific comments)

The vote is open for at least 72 hours.

Here's my +1.

Thanks,
Andrea Cosentino


Error with dynamic HTTPS call

2023-09-06 Thread Reto Peter
Hi

I have an error when initiating a dynamic HTTPS call as follows:


.toD("${header.URLString}")

The URLString in this case is:
https://apps.synesty.com/studio/api/flow/v1?id=J4M_SportXX_Verkaufsauftraege_abholen=Ubk15h-jeO50n-qQ31y9-a7ixv3=webproxy.dc.migros.ch=9099=GET

It results in the following error:
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

When I open this URL inside a browser, it works without any troubles.

Is this cause it is a dynamic call?

Camel 3.20.6
Java 17
Spring Boot 2.7.12