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 (
nse JSON de l'ESB
{"env":"{{env}}","api":"TTT","version":"{{SYS.VER}}","codeRetour":"${header.zzcodeRetour}","msgRetour":"${header.zzmsgRetour}","msgCourt":"
l.component.file.GenericFileOperationFailedException
Hoping that can help.
Daniel Langevin
-Message d'origine-
De : André kouamé
Envoyé : 15 novembre 2022 11:14
À : users@camel.apache.org
Objet : How can i retrieve file name when SftpException Occured
Hi a
Hi,
Is it possible to get more of your code stuff… may be I can help you.
If you want to call HTTPS rest services….
you have to set more stuff in SSLContextParameters, (like your certificate)
because netty won’t switch in https…
Daniel Langevin
De : Bheda, Nitesh
Envoyé : 15 septembre
Hi Jane,
I make a little test with my environment Camel version 3.14.3 running into
karaf 4.3.3
Here a simple rest service extract from a blueprint deployment and it works
very well, with and without an attachment
TTT - Poll imap read With PollEnrich
imaps://{{SHQ_imap_s
Hello Jane,
you say you don't have an attachment, did you make sure you got at least a
message body ???
Because the problem may come from the PollEnrich.
Regards,
Daniel
-Message d'origine-
De : Mi Jane 米静
Envoyé : 1 septembre 2022 00:31
À : users@camel.apache.org
Objet : RE: Poll
Hi,
You can try adding &disconnect=false, in your imaps parameter.
Hope it's help.
Daniel
-Message d'origine-
De : Mi Jane 米静
Envoyé : 31 août 2022 04:29
À : users@camel.apache.org
Objet : Poll enrich with mail component will lose attachments
Dear community,
When I used Camel 3.
D&reserved=0
On Fri, Aug 26, 2022 at 8:06 PM Daniel Langevin <
daniel.lange...@shq.gouv.qc.ca> wrote:
> Hi,
>
> I am using CAMEL 3.14.3 with KARAF 4.3.3 and it works well from
> several months.
>
> I tried to upgrade my KARAF / camel environment from camel 3.14.3
Finally, you got it right.
I ran my KARAF OSGI with version 11 and all my Camel blueprint's deployment
goes right : - )
So I will have to plan to upgrade also the version of my JAVA
Thanks a lot Raymond. !
Regards.
Daniel
-Message d'origine-
De : Daniel Langevin
Envoyé
-javax-xml-bind-does-not-exist
On Fri, Aug 26, 2022 at 8:06 PM Daniel Langevin <
daniel.lange...@shq.gouv.qc.ca> wrote:
> Hi,
>
> I am using CAMEL 3.14.3 with KARAF 4.3.3 and it works well from
> several months.
>
> I tried to upgrade my KARAF / camel environment from ca
s the problem, someone have any idea or
suggestion.
Thanks
Daniel Langevin
Direction de l'assistance et des technologies
Direction des ressources informationnelles et matérielles
Societe d'habitation du Québec
ication}_${header.zzLoop}.eml
REGUL
zPjTemp = new File( request.headers['zzTEMPPJ'] )
zz = zPjTemp.listFiles();
zresult = ""
for (int i = 0; i < zz.length; i++) {
zresult = zresult + zz[i].getName()+","
}
zresultArray
21T10:50:17,794 | Outside loop
2022-04-21T10:50:17,796 | Body:
C2202010 - Copie.psl
164271546
C2202010.psl
164271546
C2202170.LOG
164450604
2022-04-21T10:50:17,796 | Ftp List Done
Regards
Daniel Langevin
-Message d'origine-
De : Daniel Langevin
Hi,
Sorry this is beyond my understanding and skills.
Maybe it's possible to define in one bundle and refer to it in the others like
we do with a connection factory.
Good luck and regards!
Daniel Langevin
-Message d'origine-
De : Ephemeris Lappis
Envoyé : 21 avril
Hi,
I think you only missed to define your cluster in your blueprint like this
Before the camelcontext only add this line.
Hope it's help
Daniel Langevin
-Message d'origine-
De : Ephemeris Lappis
Envoyé : 21 avril 2022 06:33
À : users@camel.apache.org
Objet : Compon
Copie.psl
164271546
2022-04-13T13:33:39,468 | Ftp List Done
As you may have noticed, only one file is read instead of the 3 files present
in the Directory.
I've looked at this every which way, but I can't find what's wrong.
has the way of doing FTP or Enrich changed?
Someone can help !
Regards.
Daniel Langevin
Daniel Langevin
Direction de l'assistance et des technologies
Direction des ressources informationnelles et matérielles
gards.
Daniel Langevin
-Message d'origine-
De : Ephemeris Lappis
Envoyé : 18 mars 2022 12:41
À : users@camel.apache.org
Objet : Camel "master" component
Hello.
Our customer currently uses Fuse 6.3 for its ESB features.
We'd like to propose moving them to ServiceMix. I
gine-
De : Claus Ibsen
Envoyé : 18 janvier 2022 12:32
À : users@camel.apache.org
Objet : Re: camel-DNS / Camel 3.11.5 / should import org.slf4j* optional
Hi
You need to have slf4j-api installed in karaf as camel uses slf4j-api for its
logging.
On Tue, Jan 18, 2022 at 5:20 PM Daniel Lang
eservice;version=3.3.1,
org.xbill.DNS.tools;uses:=org.xbill.DNS;version=3.3.1,
org.xbill.DNS.utils;version=3.3.1
Import-Package =
javax.crypto,
javax.crypto.spec,
android.os;resolution:=optional,
sun.net.spi.nameservice;resolution:=optional,
junit.framework;resolution:=optional
Regards
Daniel Langevin
Direction de l'assistance et des technologies
Direction des ressources informationnelles et matérielles
OK here is a solution to get UnixTimeStamp in SIMPLE LANGUAGE camel 2.xx
${header.CamelCreatedTimestamp}
${header.wTimeStamp.getTime()/1000}
Hope it's help!
Daniel Langevin
-Message d'origine-
De : ski n
Envoyé : 26 novembre 2021 09:48
À : users@camel.apache.org
Sorry to fast for time,
Here is: ${date:now:-MM-dd' à 'HH:mm:ss.fff' ('yyy'.'D')'}
Daniel
-Message d'origine-
De : Daniel Langevin
Envoyé : 26 novembre 2021 08:37
À : users@camel.apache.org
Objet : RE: Simple language
Hi Raymond,
Hi Raymond,
For date:
${date:now:-MM-dd' à 'HH:mm:ss' ('yyy'.'D')'}
For addition 1 to value of Var1
${header.Var}++
Regards
Daniel Langevin
-Message d'origine-
De : ski n
Envoyé : 26 novembre 2021 07:18
À : users@camel.apache.org
t.getCount(); i++) {
ii = i;
bodyPart = mimeMultipart.getBodyPart(i);
if (bodyPart.isMimeType("message/rfc822")) {
zresult = zresult + 1;
mail822filename =
request.headers['zzTEMP822']+"PJ_
e.org/jira/browse/CAMEL-16888
>
> Since you are on top of this, wonder if you would attempt to fix this
> and submit a PR against camel-karaf, for the next version (eg the main
> branch)
> https://github.com/apache/camel-karaf
>
>
> On Tue, Oct 19, 2021 at 5:28 PM Daniel Lang
because i dont noticed problem at this time !
Then i redo my test, and it's works... all the time,
Initial deployment (10/10)
Stop and start karaf (10/10)
Modification of camel-route using cxf bean (10/10)
Hope this can help you while waiting for a fix
Daniel Langevin
Societe
n Wed, Sep 15, 2021 at 10:39 AM Daniel Langevin
> wrote:
>
> > Hi all,
> >
> > Here is my case,
> > i have a body containing some Unicode characters, this body is the
> > RESPONSE of a JDBC connection Query.
> >
> > In camel 2.x i was using xml
Hi, i never made this in quarkus, but there is the way i figure it
1st you have to :
Catch the exception
handled it
use Redeliverypolicy, set maximuRedeliveries and redelivery Delay
after all the attempt sets
send a JMS Message to another Kafka Queue with header.routeID and
header.action STOP o
{"codeRetour":"200","msgCourt":"L'identification du dossier du client a
réussi.", "msgLong":"L'identification du dossier du client a
réussi.","msgRetour":"succes"}
Daniel Langevin
Hi,
In OSGI,
Each blueprint file equal 1 deployment. So you can put 1 Camel Context by
deployment file.
Example: File deploy_xxx-0.0.1.xml
===
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cm="http://ari
Hi !
Anybody have a clue ?
Regards.
Daniel
On 2021/08/17 19:31:33, Daniel Langevin wrote:
> Hi,
>
> I try to modify an application who retrieve LDAP search,
> Convert result in XML and generate HTML with camel-saxon.
>
> CAMEL 3.11.1 Karaf 4.2.10
>
>
> But fac
Hello,
does anyone have a clue?
A way to solve the problem?
An explanation ?
I'm still stuck
Regards!
Daniel Langevin
-Message d'origine-
De : Daniel Langevin
Envoyé : 17 août 2021 15:32
À : users@camel.apache.org
Objet : Camel-ldap xtream issue
Hi,
I try to
emove this approach. You could have a look at camel-xj too, as alternative
Il mar 17 ago 2021, 20:26 Daniel Langevin ha
scritto:
> Thank's
>
> -Message d'origine-
> De : Andrea Cosentino Envoyé : 17 août 2021 14:23
> À : users@camel.apache.org Objet : Re: xmljson depr
ot;default": {
"ordered": false,
"attrID": "networkAddress"
},
"int": 1,
"string": "9#\u\u"
},
...
Why it's work in JSON using xstream and not for XML ?
Som
Thank's
-Message d'origine-
De : Andrea Cosentino
Envoyé : 17 août 2021 14:23
À : users@camel.apache.org
Objet : Re: xmljson deprecated in camel 3.x
It's always json-lib
Il mar 17 ago 2021, 20:12 Daniel Langevin ha
scritto:
> HI Andrea,
>
> I thought th
e: xmljson deprecated in camel 3.x
Hello,
It has been removed for a cve related to a library used in the component.
This is the reason.
Il mar 17 ago 2021, 19:58 Daniel Langevin ha
scritto:
> Hi,
>
> I'm trying to convert an application from camel 2.17 to camel 3.11,
> and I ha
convert to
java.util.hashmap with Jackson an then convert in XML with xstream
But the XML result is very complicated to exploit
... body is a JSON string
Did I missed something! ???
I'm using CAMEL-3.11 in Karaf-4.2.11 with blueprint.
Regards!
Daniel Langevin
Direction de l'assistanc
Hi Riccardo,
URL rewrite is deprecated, last version 2.25
https://camel.apache.org/manual/latest/camel-3-migration-guide.html
you must use real proxy to do that, like NGINX or HTTPD Apache.
Hope is help!
Daniel Langevin
Direction de l’assistance et des technologies
Direction des
created https://issues.apache.org/jira/browse/SM-4761
<https://issues.apache.org/jira/browse/SM-4761> to track this.
I’m cutting release this week end.
Regards
JB
> Le 30 avr. 2021 à 14:29, Daniel Langevin a
> écrit :
>
> Hi Claus,
>
> In the output of headers for the bundles 349(d
karaf 4.2.10 bundles #125 (at the end) indicate version
1.7.2
but in Status bundles it indicate: 1.7.30 imported how its possible
i think this is the mismatch. !!
What do you think
Regards.
Daniel Langevin
--
karaf@root()> headers
e any idea!
Thanks!
Daniel Langevin
Direction de l’assistance et des technologies
Direction des ressources informationnelles et matérielles
Société d’habitation du Québec
Édifice Marie-Guyart
1054, rue Louis-Alexandre-Taschereau
Aile Jacques-Parizeau, 1er étage
Québec (Québec) G1R 5E7
Télép
Hi,
you can use CRONSCHEDULEDROUTEPOLICY like this
...
...
hope it's help
Daniel Langevin
Direction de l’assistance et des technologies
Direction des ressources informationnelles et matérielles
Société d’habitation du Québec
Édifice Marie-Guyart
1054, rue Louis-Alex
Hi,
The path used in ftp, ftps and sftp components is always relative to FTP home
directory of logged in user.
FTP home directory depends on configuration of FTP server.
In some configurations it can be seemingly "/", but it is in most cases just
chroot
Daniel Langevi
Hi,
Here a sample using SqlStoredComponent with Postgresql, hope it's help
http://camel.apache.org/schema/blueprint"; trace="false" >
...
...
...
...
...
...
..
Daniel Langevin
>>>
De :Babak Vah
20the%20client%20and%20server.
Hope it's help
Daniel Langevin
>>>
De :balanjaneyulu p
À : ,
Date : 2021-02-25 04:51
Objet : apache camel proxy auth issue
Hi All,
I have been struggling to fix below issue
https://stackoverflow.com/questions/66351948
s")
.addProtocols("cite", "cite", "http", "https")
}
zbody = Jsoup.clean(request.body,wlist()); //
preserve some tags, bases one
zbody = zbody.repla
Hi Gerald,
There may be a solution while waiting for the last release of ServiceMix.
I run ServiceMix 7.0.1 with Camel 2.17.7, with little changes.
(i make a little test in LAB this morning, with 2.21.1 and it seems to work).
ServiceMix cames up without error.
Here's a Link that explained the
t to define
in one common Blueprint file and refer in an other blueprint file to the
registered servlet above like
Is there a way in the second Blueprint to get a reference to the servlet
defined in the first one?
Best
Gerald
> Daniel Langevin hat am 19.08.2020 13:48
> geschr
Hi Gerald,
the only way i know to do that is to refer this way.
uri="direct-vm:xx?block=true&timeout=30"
hope this help!
Daniel
>>>
De : Gerald Kallas
À :, Daniel Langevin
Date : 2020-08-19 00:15
Objet : Re: Rép. : Camel REST DSL with servlet -
Try this it's work for me.
apiisp001 - Echo rest service
APIISP001 - Connectivity test
/APIISP001/echo PONG.
Daniel Langevin
Direction de l’assis
Hi,
you have to specify the default http port number : 8181 for CamelServlet
like this:
http://servername.org:8181/apiisp001/1
Daniel Langevin
Direction de l’assistance et des technologies
Direction des ressources informationnelles
Société d’habitation du Québec
Édifice Marie-Guyart
1054
ace="false">
XXX - Echo rest service
XXX - Test de connectivite
{{SMIX.ENV}}/XXX/echo PONG.
...
...
...
Daniel Langevin
Direction de l’assistance et des technologies
Direction des ressources informationnelles
Société d’habit
} else {
result =
MimeUtility.decodeText(request.getOriginalMessage().getContent());
}
Daniel Langevin
>>>
De :
À :
Date : 2019-10-07 07:49
Objet : AW: parse HTML Email
I don't know if it helps you with HTML mails,
Hi,
here the way i use it
Echo rest service
Connectivity test
pong
Summary of service1
Description Id Service1
>>> Martin Lichtin 2018-07-12 15:55 >>>
Anyone know h
try this
start your docker witch --network=hostcoreservices
then http4:hostcoreservices:8080/coreservices/rest/v1/services
dont miss to add the hostcoreservices in you DNS
Cliquer pour ajouter une signature
( gwsig:addsig)
>>>
I'm running camel inside a Docker container and trying to us
Hi,
If i look your wsdl.
you camel Body suppose to be:
?
?
Daniel
>>> "Shenavai, Manuel" 2018-03-19 12:25 >>>
Hi everyone,
no ideas regarding this problem?
I add a small example project to this mail. In order to reproduce the
problem, start Server.java as a junit‑Test. After
/dummyhost>
and now it Works.
Thank's
Daniel
>>> "Daniel Langevin" 2018-02-22 14:20
>>>
Hi,
i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel
2.17.7
this service redirect with camel‑http to another URL.
like
http://serverA.org:81
Hi,
i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7
this service redirect with camel-http to another URL.
like
http://serverA.org:8181/rest/XXX/geocode/30%20rue%20larue,%20quebec/adress/geom
redirect to
http://www.servername.org/search/geocode?q=300%20rue%20larue,%20queb
27;].replaceAll('(([^=]*)=\\?([^\\?]*)\\?([BbQq])\\?([^\\?]*)\\?=([^=]*))','$5').getBytes()),subjectCharSet)}
result = zresult;
Hope it can help someone.
regards.
Daniel
>>> Claus Ibsen 2018-02-01 12:00 >>>
Its typically only the message body.
On Fri, Jan 12, 2018 at 4:55 PM, Daniel Langevin
wrote:
> Ok Thanks.
> I know that way, but can't be Dynamic
>
>
> Regards
>
> Daniel
>
>
>
>
>
>
>>>> Claus Ibsen 2018-01-12 10:51 >>>
> You cannot make it as a dynamic
On Fri, Jan 12, 2018 at 4:55 PM, Daniel Langevin
wrote:
> Ok Thanks.
> I know that way, but can't be Dynamic
>
>
> Regards
>
> Daniel
>
>
>
>
>
>
>>>> Claus Ibsen 2018-01-12 10:51 >>>
> You cannot make it as a dynamic
the documentation
http://camel.apache.org/using-propertyplaceholder.html
On Fri, Jan 12, 2018 at 4:23 PM, Daniel Langevin
wrote:
> Hi,
>
> i try to use convertBody to and pass the charset dynamically.
>
>
> i try:
> #1
> .. retrieve
charSet BodyPart
Hi,
i try to use convertBody to and pass the charset dynamically.
i try:
#1
.. retrieve charSet
BodyPart from mail
but receive error
Caused by: java.nio.charset.IllegalCharsetNameException: ${property.mailCharSet}
#2
.. retrieve charSet
BodyPart from mail
but receive error
C
tipart".
Can you try that?
Best regards
Stephan
‑Original Message‑
From: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca]
Sent: Freitag, 8. Dezember 2017 19:56
To: users@camel.apache.org
Subject: Rép. : RE: camel‑mail IMAP mime‑multipart splitAttachment
Hi,
i try with
e‑multipart", not "mimeMultipart".
Can you try that?
Best regards
Stephan
‑Original Message‑
From: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca]
Sent: Freitag, 8. Dezember 2017 19:56
To: users@camel.apache.org
Subject: Rép. : RE: camel‑mail
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'mimeMultipart'.
I don't understand i user Camel 2.17.7, it supposed to be there since 2.17.1
?????
Daniel Langevin
>>> "Siano, Stephan" 2017-12-
Hi,
i try to implement a MAIL service In OSGI Karaf 4.0.9 with Camel 2.17.7,
Camel-Mail and Active-MQ and SQL
i want to read MAIL from IMAP server, then keep It into JMS Queue an then
process each mail with mime-multipart with attachment and insert it into sql
database
I stuck at the first St
xxx
See the docs
https://github.com/apache/camel/blob/master/camel-core/src/main/docs/eips/enrich-eip.adoc
Or the old docs
http://camel.apache.org/content-enricher.html
On Fri, Dec 1, 2017 at 6:35 PM, Daniel Langevin
wrote:
> Hi,
>
> im' using camel 2.17.7 in Karaf 4.09 OSGI, my
Hi,
im' using camel 2.17.7 in Karaf 4.09 OSGI, my deployement type is SPRING
i try tu use enrich to get trought a second from for enriching my message i
receive an error
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2:
Attribute 'uri' is not allowed to appear in elem
Hi,
im' using camel 2.17.7 in Karaf 4.09 OSGI, my deployement type is SPRING
i try tu use enrich to get trought a second from for enriching my message i
receive an error
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2:
Attribute 'uri' is not allowed to appear in elem
ing
http://camel.apache.org/schema/spring/camel-spring-2.17.7.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd";>
...
Daniel Langevin
>>> Kerry 2017-11-28 15:37 &
-example-res-blueprint/rest (although for the api bundle it
extends it further with /user - never tried it without but could be
worth checking)
Pay close attention to to the restConfiguration and servletName.
BTW, this example as it stands isn't great as it has circular package
dependenci
You can configure camel-servlet for osgi with some
> > "magic" osgi http service stuff.
> >
> > On Tue, Nov 28, 2017 at 5:05 PM, Daniel Langevin
> > wrote:
> >> Hi,
> >>
> >> i try to implement a Rest service In OSGI Karaf 4.0.9 with C
-0.0.1.XML containg all routes for the system XYZ.
...
call the service with http://serverName:8181/rest/XYZ/getQuote/nnn
receive a 404 url not found
What i missed ?
Do i have to refered the http servlet someware in my camel Context ?
Thank's
Daniel Langevin
"
Thank's
i use this and it works.
${body.replaceAll(".*@(.*)","$1")}
Daniel
>>>
I recommend to use a regular expression instead.
-Ursprüngliche Nachricht-
Von: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca]
Gesendet: Donnerstag,
ith value
type: class java.lang.String and value: 15++
if i decomposed it it's work
${body.indexOf("@")}++
${body.substring(${header.dnsStart},${body.length})}
Is it possible to achieve it in only one instruction ?
Regards
Daniel Langevin
"Le présent courri
75 matches
Mail list logo