Hello,
How file component can discard empty file (0 Bytes) ?
the goal : to be sur, that all messages in queue A is not empty.
thank you in advance,
titexe
--
View this message in context:
http://old.nabble.com/Camel-File-%3A-Discard-empty-file-tp28665819p28665819.html
Sent from the
Thank you for your response,
But for this : template.sendBody("direct:start", "Hello Nagios");
How we can do it, in Spring DSL ?
And how to send other level "critical,warn" in spring DSL ?
Thank you in advance,
cmoulliard wrote:
>
> Hi titexe,
>
Hello,
in the wiki page , i found the configuration of the Nagios component in DSL
?
it's possible to configure it , in the XML Spring ?
Thanks in advance,
--
View this message in context:
http://old.nabble.com/Camel-%3A-Nagios---Spring-XML-tp28387966p28387966.html
Sent from the Camel - Use
i dont have seen your response claus ibsen,
do you want that i create this ticket JIRA ?
titexe
titexe wrote:
>
> thank you for your response,
>
> in my opinion, if we have this option integrated by default in component
> log of camel, it would be perfect.
>
> T
thank you for your response,
in my opinion, if we have this option integrated by default in component log
of camel, it would be perfect.
Thank you,
titexe
Mick Knutson-3 wrote:
>
> In Log4j, you can specify the class that generated the error. You can also
> use Spring Apects
suggestion :
to debug errors & logs rapidly on camel, it's possible to reference in log
or in exception, id for the route and id for component who generate this
error ?
i think that it was the best and the easiest way, to debug errors on camel ?
Thank you in advance,
titexe
--
ts wiki page for example.
>
> Also you can use XPath to extract pieces of information from XML
> documents.
>
>
> On Sat, Mar 27, 2010 at 6:07 PM, titexe wrote:
>>
>> Hello,
>>
>> i receipt the xml message, that i want to split it into 2 and collect the
u in advance,
Best regards,
titexe
--
View this message in context:
http://old.nabble.com/Camel-%3A-Split---Aggregator-Patterns-tp28053393p28053393.html
Sent from the Camel - Users mailing list archive at Nabble.com.
e : " + file.getName());
System.out.println(file.isDirectory());
System.out.println(file.isFile());
}
}
Below the result :
OUT
true
false
Claus Ibsen-2 wrote:
>
> On Tue, Mar 9, 2010 at 11:11 AM, titexe wrote:
>>
>> Thank you for
ln(file.getName());
System.out.println(file.isDirectory());
System.out.println(file.isFile());
}
}
and below the result :
test
true
false
Claus Ibsen-2 wrote:
>
> On Tue, Mar 9, 2010 at 11:11 AM, titexe wrote:
>>
>> Thank you for your reply
>>
&g
le.getName());
System.out.println(file.isDirectory());
System.out.println(file.isFile());
}
}
Result :
test.txt
false
true
thank you
Claus Ibsen-2 wrote:
>
> Hi
>
> You have to test with a file also!
>
>
> On Tue, Mar 9, 2010 at 11:44
Thank you for your reply
I only used a UNC network instead of a local path like (c: \ eg)
it is this the source of the problème?
best regards,
titexe
Claus Ibsen-2 wrote:
>
> Well
>
> the JDK do not think the java.io.File is either a directory or a file
> :) Hence what is
:
someone has an idea for this problem ? Thanks in advance,
Version of Camel : 2.1
Best regards,
titexe
--
View this message in context:
http://old.nabble.com/File-Consumer-%3A-Ignoring-file-tp27833411p27833411.html
Sent from the Camel - Users
ains
'Test'
Thank you in advance,
titexe
--
View this message in context:
http://old.nabble.com/Camel-Simple-%3A-operator-%27AND%27-does-not-work-tp27627542p27627542.html
Sent from the C
I have tested the component Camel-stringtemplate for the same thing
I discovered another problem: the component Camel-stringtemplate loses all
fields properties.
worse than the component velocity or freemarker:)
Thank you in advance
titexe
titexe wrote:
>
> I tried to test the com
I tried to test the component freemarker instead of a velocity component, but
unfortunately there's the same the problem of case sensitivity for fields
properties of the message header.
thank you inadvance,
titexe
Claus Ibsen-2 wrote:
>
> On Tue, Feb 16, 2010 at 9:59 AM, ti
ionid.
there's any way to solve this problem?
Thank you in advance
titexe
--
View this message in context:
http://old.nabble.com/Problem-with-velocity-component-tp27605243p27605243.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you,
the problem is fixed with you processor.
regards,
titexe
Henric wrote:
>
> Hi,
>
> I had a similar problem and performed a workaround where I removed the BOM
> characters in a Processor in my Camel Route. See code below.
>
> I'm not sure, but I think
?id=11470
Best regards,
titexe
Claus Ibsen-2 wrote:
>
> On Wed, Feb 3, 2010 at 5:09 PM, titexe wrote:
>>
>> Hello,
>>
>> it'is possible to planned, to create a new component camel-Talend, that
>> allow to exchange data with ETL Talend ?
>>
>
For information: Many other products are planned or have started to develop
their components to exchange with Talend ETL (For example ESB Petals ,...)
Thank you in advance,
Best regards,
titexe
--
View this message in context:
http://old.nabble.com/Suggestion-to-create-a-new-component%3A-Camel-T
Thank you all for yours responses,
I tested, it works well when I put several lines in activemq.xml:
but unfortunately, I can not do the same thing for applicationcontext.xml
file, to be able to edit these flows from the WebConsole camel.
regards,
titexe
willem.jiang wrote
hello,
it'is possible in camel to separate routes in different XML files?
sort: like camel.xml and activemq.xml
This opportunity will allow me to separate routes and maintain versions for
each projects.
Thank you in advance
Best regards,
titexe
--
View this message in context:
You're right,
thank you
titexe
Claus Ibsen-2 wrote:
>
> On Tue, Jan 26, 2010 at 5:46 PM, titexe wrote:
>>
>> Hello,
>>
>> how I can recover the value of the variable%ACTIVEMQ_HOME% in my route
>> camel?
>>
>
> This is not speci
Hello,
how I can recover the value of the variable%ACTIVEMQ_HOME% in my route
camel?
Thank you in advance
best regards,
titexe
--
View this message in context:
http://old.nabble.com/Recover-value-of-variable-in-camel-tp27325821p27325821.html
Sent from the Camel - Users mailing list archive
this date:
org.apache.commons.lang.time.DateFormatUtils.format (new Date (),
"-MM-dd'T'HH: mm: ss.SSSZZ)
Thank you also to take this problem into consideration in your next release
2.2 of camel
titexe
titexe wrote:
>
> This date format is the XML date format:
>
> The dateTi
Hello,
Do you plan in the new Camel versions of a module deployment flows in a
manner distributed?
or a way to make packages that facilitate the deployment of flows?
I think it's the most effective way for decentralized architectures.
Thank you in advance
Best regards,
titexe
--
View
I seek to recover the value BrokerName "LAPTOP" which is defined in the file
activemq.xml
http://activemq.apache.org/schema/core"; brokerName="LAPTOP"
dataDirectory="${activemq.base}/data">
there's any way to retrieve this value with a component Camel?
AM, Claus Ibsen
> wrote:
>> Hi
>>
>> The issue is that your pattern is complex and it contains additional :
>> chars.
>> I will get that fixed in the next release.
>>
>>
>> On Tue, Jan 12, 2010 at 6:26 PM, titexe wrote:
>&
to retrieve the Date in the header of the message, i put the following code :
${date:now:-MM-dd'T'HH:mm:ss:SSS}
This date format does not work? knowing that respects the date format
pattern: -MM-dd'T'HH:mm:ss.SSSZ
any idea?
Thank you in advance
--
View this message in cont
The simplest is to retrieve the Date in the header of the message :
${date:now:-MM-dd'T'HH:mm:ss:SSS}
As against this date format does not work? any idea?
Thank you in advance
Claus Ibsen-2 wrote:
>
> On Tue, Jan 12, 2010 at 4:14 PM, titexe wrote:
>>
Thank you for you reply,
there's any component in Camel that retrieves the value of BrokerName?
For example $ in.header.BrokerName ()
How Velocity component retrieves the system date, It's possible to put just
$ {date} in my VM files $ {date}?
titexe
Claus Ibsen-2 wrote:
>
Hello,
a simple question:
I want to retrieve the name of the broker to use it after in a component
Velocity?
How to get the system date in velocity?
Thank you in advance.
titexe
--
View this message in context:
http://old.nabble.com/Retrieve-BrokerName---Velocity-tp27128040p27128040.html
Thank you Amar,
it work very well...
titexe
Ryadh Amar wrote:
>
> If you are using Camel 2.1, you can use "inline templating"
> ==
> from("direct:in").
> setHeader("CamelVelocityTemplate").constant("Hi th
Hello,
I want to generate an XML File based on the fiels of the header of Message
and the body of message.
An example of the file that i want to generate :
${in.header.foo}
${in.body}
the problem, when i put this text into field , i receive an error.
Any ideas?
Thanks in advance
--
View
you're right, it works:)
Thank you very much Claus.
titexe
Claus Ibsen-2 wrote:
>
> On Thu, Dec 17, 2009 at 9:34 AM, titexe wrote:
>>
>> thank you for your answers,
>>
>> I am in testing phase, the solutions you have proposed
>>
>> Claus ex
because I checked the file camel-spring.xsd, and I found the code very well
Camel Version : 2.1 and activemq 5.3
titexe wrote:
>
> thank you for your answers,
>
> I am in testing phase, the solutions you have proposed
>
> Claus excuse
getMockEndpoint("mock:test");
>> mock.expectedBodiesReceived("ALLAH");
>>
>> String xml =
>> "";
>> sendBody("direct:xpath-no-conversion", xml);
>>
>> mock.await();
>> mock.ass
hello,
my xpath query does not work, when I put the text value () to finish:
/request/header/source/text()
body of my message :
my route :
/request/header/source/text()
any idea?
thanks in advance,
titexe
--
View this message in context
thank you for your reply
you're right, it is described in Chapter 5 Camel in Action.
For cons, I still have a problem with this config, property 'endpointUri'
does not recognize, below my config:
Thanks in advance,
titexe
Clau
the version I use camel 2.1 and
ActiveMQ 5.3.
Thank you in advance.
titexe
--
View this message in context:
http://old.nabble.com/Camel-2.1-%3A-Error-Handler---Recover-Original-Message-tp26808679p26808679.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
it'is possible to know, if exist any graphical tool for developing complex
processor ?
What you recommend for me to use?
there's someone using Talend to develop these processors?
Thank you in advance
Best regards
--
View this message in context:
http://old.nabble.com/Camel%3A-Graphic
Nov 27, 2009 at 3:01 PM, titexe wrote:
>>
>> thank you claus, it is to help each other,
>>
>> I take this opportunity to thank you for the book "Camel in Action"
>>
>
> Welcome the book is for Camel, not for me. We value community over
> code at A
thank you claus, it is to help each other,
I take this opportunity to thank you for the book "Camel in Action"
If not for the problem I will try to remove stream cache
Thank you
Claus Ibsen-2 wrote:
>
> On Fri, Nov 27, 2009 at 12:03 PM, titexe wrote:
>>
>&
bizarre, even by putting maxMessagesPerTask, the problem is not solved, every
second I have a thread that add, and it :
ActiveMQ Session ID: Server-1997-XX
I don't understand anything?
Thank you in advance,
titexe
Claus Ibsen-2 wrote:
>
> On Fri, Nov 27, 2009 at 11:43
Thank you for your reply :
I tested this expression and it does not work, it generates me an error that
not recognize this URI:
I think we should use this :
What do you think?
Thank you
titexe
Claus Ibsen-2 wrote:
>
> Hi
>
> Have you read the warning on top of the J
ersion: 1.6.1.2
Thank you in advance
Best regards.
titexe
--
View this message in context:
http://old.nabble.com/Camel%3A-memory-management-%28memory-leak%29-tp26540277p26540277.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you for your help
Claus Ibsen-2 wrote:
>
> On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote:
>>
>> Thank you for your reply
>>
>> my need is simple, I want to transfer messages from the queue A to queue
>> B,
>> each 1 hour.
>>
>> I t
Thank you for your help,
Claus Ibsen-2 wrote:
>
> On Tue, Nov 24, 2009 at 6:17 PM, titexe wrote:
>>
>> Thank you for your reply
>>
>> my need is simple, I want to transfer messages from the queue A to queue
>> B,
>> each 1 hour.
>>
>> I t
Thank you for your reply
my need is simple, I want to transfer messages from the queue A to queue B,
each 1 hour.
I think the examples that are present in this page is not used to me.
de you have ideas that could help me ?
thank you again
titexe
Ashwin Karpe wrote:
>
> Hi,
>
&g
Hello,
there's a possibility to schedule a move of messages from one queue to
another, every 1 hour?
If yes, how;)? Thank you for giving me an example:)
Thank you in advance
titexe
--
View this message in context:
http://old.nabble.com/Camel-%3A-schedule-the-move-of-mes
the problem, when i look of the attributes of this queue, i found
ConsumerCount 0 and the route of camel is started.
What can you explain this ?
Thank you in advance,
titexe
dulanov wrote:
>
> Do you just write to db or read/write? May be the problem would be solved
> by
> crea
are in the queue of a very slow.(3 messages per second)
there's a best practice for this case or recommendations to do?
Thank you for your help
Best regards,
titexe
--
View this message in context:
http://old.nabble.com/Camel-%3A-slow-processing-of-messages-tp26421240p26421240.html
Sent
Problem is solved
I change JTDS through JDBC, and I added the following line:
Now you can manage the connection pools
Claus Ibsen-2 wrote:
>
> On Fri, Nov 13, 2009 at 3:26 PM, titexe wrote:
>>
>> Thank you for your response,
>>
>> can you tell me, how I c
v 13, 2009 at 3:06 PM, titexe wrote:
>>
>> Hello,
>>
>> I have a route camel that take the message in queue OUT and makes an
>> update
>> in the database.
>>
>> In fact that I receive many messages in 10,000 messages.
>> I receive an error:
>>
ageId)'
Thank you in advance
titexe
--
View this message in context:
http://old.nabble.com/Camel-Database-%3A-Connection-management-database-by-Camel--tp26337091p26337091.html
Sent from the Camel - Users mailing list archive at Nabble.com.
you're right, the best solution is to use triggers
DB [Triggers -> Stored Procedure ->. Net (put in the tail)] -> Queue ->
[Camel (Get Message) -> (Insert to DB)]
my question is: is that iBatis will offer a solution in relation to my
problem?
Thanks in advance,
titexe
PS
Hello,
We would like to copy in real time the inserted records in a database to
another,
my question is: the component ibatis camel can manage this mode(real time)?
Best regards,
titexe
PS : I bought your book camel in action, it has served me well, I wish you
good continuation
--
View this
${in.header.Partner}
Thank you in advance
titexe
Claus Ibsen-2 wrote:
>
> On Thu,
you in advance,
best regards,
titexe
Claus Ibsen-2 wrote:
>
> Hi
>
> Can you write more details as its not clear to me what you want?
>
> Camel can certainly consume a message (1), extract a header (2) using
> xpath for example
> And then in (3) why do you mean exactly
Hi Everybody!
I need to develop a camel route to do the following actions:
(1) Get the Message, (2) Extracting value of partner from the header of the
message [Message Properties], (3)check in the XML file value of this
partner.
and (4) put this value in the header of message [Message Propert
Thank you for your response,
the JMSReplyTo is not defined, the downtime is random, sometimes 20 seconds,
sometimes 2 minutes or plus.
Claus Ibsen-2 wrote:
>
> On Mon, Oct 19, 2009 at 12:20 PM, titexe wrote:
>>
>> Hello,
>>
>> I have a Camel route th
{in.header.MessageId}'
Thanks in advance,
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Camel-%3A-Stop-random-of-route-Camel-in-full-treatment-tp25955985p25955985.html
Sent from the Camel - Users mailing list archive at Nabble.com.
handle 100 at a time, or batch of
10, or per message? Is that there's settings to manage these issues?
thank you,
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Questions-about-functioning-of-Camel-tp25820663p25820663.html
Sent from the Camel - Users mailing
handle 100 at a time, or batch of
10, or per message? Is that there's settings to manage these issues?
thank you,
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Questions-about-functioning-of-Camel-tp25820661p25820661.html
Sent from the Camel - Users mailing
u for your cooperation.
Best regards,
titexe
Claus Ibsen-2 wrote:
>
> Hi
>
> Ah Camel 1.x does NOT support the operators in the language.
> You cannot do this in 1.x. You need Camel 2.0 for that.
>
> In Camel 1.x you can use a POJO to do the test
>
>
>
>
u for your cooperation.
Best regards,
titexe
Claus Ibsen-2 wrote:
>
> Hi
>
> The simple language does NOT support operators in Camel 1.x.
> This feature requires to use Camel 2.0.
>
> You have to use something else such as mvel, ognl, groovy or a regular
> bean for th
Thank you in advance
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Filtering-with-the-simple-expression-does-not-work---tp25803293p25803293.html
Sent from the Camel - Users mailing list archive at Nabble.com.
n} == 'PCA'
${file:name.noext}_${header.Action}.csv
titexe wrote:
>
> Is really a big problem, there's no place for logic:)
>
> I enabled the trace mode, the
> Is there a Action header at all?
>
> You can use the tracer to look?
> http://camel.apache.org/tracer
>
> I suspect this is the problem.
>
>
> On Thu, Oct 8, 2009 at 12:49 PM, titexe
> wrote:
>>
>> Thank you for your reply,
>>
>> now I get no
u, Oct 8, 2009 at 11:22 AM, titexe
> wrote:
>>
>>
>> my incoming queue, receives messages of bytes type.
>>
>> the message content in bytes may be an XML or CSV or PDF file that I
>> converted a file in the end.
>>
>> In the header of the message,there
t;
> 3rd route = B which is the CSV route where you use something else than
> xpath. For example a java bean to check the action or what you would
> like to do with the CSV file.
>
>
> On Thu, Oct 8, 2009 at 10:48 AM, titexe
> wrote:
>>
>> Firstly,
ou cannot use XPath with CSV.
>
>
> On Wed, Oct 7, 2009 at 10:59 AM, titexe
> wrote:
>>
>> For information
>>
>> Version Camel = Camel V1.6.1.2
>> Version Activemq = Fuse message broker 5.3.0.3
>> Version Java = V1.6.0_16
>>
>>
>&g
For information
Version Camel = Camel V1.6.1.2
Version Activemq = Fuse message broker 5.3.0.3
Version Java = V1.6.0_16
titexe wrote:
>
> Hello,
>
> Here is the description of my route camel : I get a message type Bytes in
> my queue, I transferred this message to another bro
s
(ChoiceProcessor.java: 47)
at org.apache.camel.management.InstrumentationProcessor.process
(InstrumentationProcessor.java: 80)
Thank you for helping me resolve this problem,
Thank you in advance,
best regards,
titexe
--
View this message in context:
http://www.nabble.com/Camel-%3A-Error-Message-to-CSV-file-tp25
in the XML editor and
> thus can see which properties you can use.
>
> I recall its called: defaultDeadLetterEndpointUri in Camel 1.x instead
> of deadLetterUri
>
>
> On Wed, Sep 30, 2009 at 5:44 PM, titexe
> wrote:
>>
>> Hello,
>>
>> I want to setup t
se a good IDE you get code completion in the XML editor and
> thus can see which properties you can use.
>
> I recall its called: defaultDeadLetterEndpointUri in Camel 1.x instead
> of deadLetterUri
>
>
> On Wed, Sep 30, 2009 at 5:44 PM, titexe
> wrote:
>>
>&
ava:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.activemq.console.Main.runTaskClass(Main.java:225)
at org.apache.activemq.console.Main.main(Main.java:106)
Thank you for helping me solve the problem,
best regards,
titexe
--
View this message in context:
http://w
camel ?
Thank you in advance
Claus Ibsen-2 wrote:
>
> Hi
>
> Use a text editor that do NOT set that BOM character.
> Or maybe your existing text editor can save in UTF-8 without the BOM.
>
>
>
> On Wed, Sep 30, 2009 at 3:42 PM, titexe
> wrote:
>>
>>
l camel .jars have the same version number.
>
>
> On Wed, Sep 30, 2009 at 4:08 PM, titexe
> wrote:
>>
>> Hello,
>>
>> I encountered a problem using the mail component,
>>
>> I have tried to develop a camel route, which transforms a message in an
ion, must be shutting down:
java.lang.IllegalStateException: Shutdown in progress
thanks in advance to help to resolve this problem,
best regards,
titexe.
--
View this message in context:
http://www.nabble.com/Smtp-component-%3A-error-in-smtp-endpoint-tp25681799p25681799.html
Sent from the Camel - U
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Camel-%3A-file-to-Message---Error-SAX-%22XML%22-Byte-Order-Mark-%28BOM%29-tp25681297p25681297.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Problem fixed : expression simple
Thank you
titexe wrote:
>
> Hello,
>
> I'm trying to develop a route camel who can:
>
> Retrieve a value from the header of a message
> and put this value in an SQL query.
>
> Below my configuration:
>
>
eader.MessageId}, I retrieve its value,
unlike when I put this variable in the SQL query.
Otherwise, the SQL executes perfectly.
Thank you in advance for helping me complete this route
Best regards,
titexe
--
View this message in context:
http://www.nabble.com/Route-Camel-%3A-Pass-variables
Problem fixed : the declaration of namespace must be in camel context not in
bean.
Thank you for your reactivity
titexe wrote:
>
> Hello,
>
> I'm trying to developp camel route to filter messages XML format (xpath)
>
> This is my configuration:
>
> xmlns=&quo
Problem fixed, camel-jdbc.jar are missing in library.
thank you for your reactivity
titexe wrote:
>
> Hello,
>
> I'm just a beginner, I'm enthusiasm to make a model based on ActiveMQ and
> Camel.
>
> I try to make a camel route which query the database an
soft.com/dynamics/2006/02/documents/Message";>
Customer
There's someone who could help me solve this problem,
thank you in advance
version activemq : fuse message broker 5.3.0.3
version java : Java 1.6
Best regards,
titexe
--
View this message in conte
ema/spring";>
select * from customer
version activemq : fuse message broker 5.3.0.3
version java : Java 1.6
Thank you for helping me resolve this problem,
Best regards,
titexe
--
View this message in context:
http://www.nabble.com
87 matches
Mail list logo