Hi,
These 2 lines of code were working for me with Camel 2.22.0 to retrieve all
properties from a CamelContext:
PropertiesComponent p = (PropertiesComponent)
context.getComponent("properties",false)
return
p.getPropertiesResolver().resolveProperties(context,false,pro.getLocations())
After
/camel/blob/master/components/camel-spring-main/src/main/java/org/apache/camel/spring/Main.java#L73
>
>
>> On Wed, Mar 17, 2021 at 4:36 AM Michele Olsen
>> wrote:
>>
>> Hi,
>> My application is currently using version 2.22.0 of Apache-camel. It calls
>>
Hi,
My application is currently using version 2.22.0 of Apache-camel. It calls the
run method of org.Apache.camel.spring.Main using a run argument of “-ac
camel-config.xml”. I upgraded the camel version to 3.8.0 but now when the run
method is called, I’m getting an error saying
“Unknown
t in the
org.apache.servicemix.bundles.elasticsearch-client bundle there aren't
imported packages, it is normal? It's a bug or I'm missing something?
http://it.tinypic.com/r/24v3zaa/9
--
Michele Andreoli
mapping file (section parser) to
pass bean io but no result.
Then, i tried this before to call unmarshal
${body.replaceAll("\"","")}
but an error is thrown replaceAll on null object.
Any idea?
Environment JbossFuse 6.2 - With camel version 2.15.1.redhat-620133
it override all.
How to avoid writing of last single row?
Any idea?
Thanks in advance.
Best regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Issue-Append-and-Move-file-on-completion-whole-process-tp5785634.html
Sent from the Camel - Users mailing list
ception:
org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed: 227 Entering Passive Mode Too many open files (Attacched
log file log.txt <http://camel.465427.n5.nabble.com/file/n5785356/log.txt>
)
Any idea?
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.
Hi,
thank you very much for your reply.
I use FileZilla to check if are present file in folder.
I restart Camel Context and now it works fine. But, how to prevent it
happening again?
Thanks again
Kind greetings
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com
I hope it goes well. I tested
it more than once and it work fine.
Thank you for your support ;).
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537p5782598.html
Sent from the Camel - Users mailing list a
Best regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537p5782584.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ks in advance.
Best regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537p5782540.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I remove the include parameters from options and I retry it.
The result is the same.
In log file
-rw-r--r-- 1 ftp ftp6070120 May 13 10:16
DDT_DA_SAP_20151123_123003.txt
Thanks for your support.
Best regard
Michele
--
View this message in context:
http://camel.465427.n5
DT_DA_SAP_20151123_123003.txt
Please help me.
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.
Thanks a lot again for your support.
Best regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5781750.html
Sent from the Camel - Users mailing list archive at Nabble.com.
(Put in queue
~2msg/s in some process). My goal is to store the whole file splitted line
by line in queue as soon as possible to increase reliability.
Thank you a lot again.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process
${body[0]}
CompleteActionPath
Thanks a lot again
Best Regards
Michele
--
View this message
try using either JMS or
ActiveMQ.
So, Can ActiveMQ manage a large number of messages in few seconds or
minutes? Or Do I need to defined a load balancer on Broker?
Thanks a lot for your support.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Be
let you know.
Thanks a lot again for your support.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5781179.html
Sent from the Camel - Users mailing list archive at Nabble.com.
. But, Can I improve further processing
performance?
In addition, I noticed that Queue Size of Queue is low. Why? (Producer is
slower than Consumer?)
Thanks in advance.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large
ss...)
6 instances of "org.apache.activemq.command.ActiveMQObjectMessage", loaded
by "org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 @
0x781b26308" occupy 104.612.744 (22,86%) bytes.
This result obtained introducing lazyloat on csv.
Do I need to change my route?
Thanks a
configuration is based on PooledConnection and to limit the amount
of memory (Per-Destination) I set:
But, after about 1h the system goes in OutOfMemory.
Thanks you so much for your help.
Best Regards
Michele
--
View this message in context
Now Out Of Memory is generated by:
Heap dumped on OutOfMemoryError exception
Thread causing OutOfMemoryError exception: Camel
(IF_CBIKIT-Inbound-Context) thread #18 - seda://processAndStoreInQueue
Please help me!
Thanks a lot in advance
Best Regards
Michele
-
Hi,
sorry, but according to http://camel.apache.org/jms.html section Concurrent
Consuming
You can configure this option in one of the following ways:
- On the JmsComponent (I believe during configuration
PooledConnectionFactory),
- On the endpoint URI or,
- By invoking setConcurrentConsumers()
Hi Stevenson,
I configured component activemq using Pooled Connection Factory.
So, PooledConnection Factory regarded only Producer?
I try to add a concurrentConsumers as option...
Thank you so much
Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com
rom
queue)?
Environment: JBoss Fuse 6.2 based on Apache Camel and ActiveMQ.
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Understanding-Pooled-Connection-Factory-on-ActiveMQ-tp5780689.html
Sent from the Camel - Users mailing lis
and on tag systemUsage I set sendFailIfNoSpace="false".
I'll work on this way to improve performance.
Anyway, thanks a lot for your support.
Best Regards
Michele
tiveMQObjectMessage#27
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
Local Variable: org.apache.activemq.transport.tcp.TcpTransport#4
at java.lang.Thread.run(Thread.java:745)
How can I improve the Store and forward?
Thanks a log again for your support.
Greetings
utStream] due
java.lang.OutOfMemoryError: Java heap space
and then LevelDB Stop and the process ends...
I attach first OOM excpetion occurred during process oof.txt
<http://camel.465427.n5.nabble.com/file/n5780003/oof.txt>
Thanks for all
Best regards
Michele
--
View this message in context:
I forgot
this link http://activemq.apache.org/what-is-the-prefetch-limit-for.html and
so I changed the consumer endpoint like this
Thanks again.
Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows
nce
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5779935.html
Sent from the Camel - Users mailing list archive at Nabble.com.
2.15.1 and Active MQ 5.11)
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856.html
Sent from the Camel - Users mailing list archive at Nabble.com.
language or CustomValidator.
Probably i will use a CustomValidator driven a custom xml configuration.
I have seen beanio and the question is: Is this a valid xml configuration
file?
thanks a lot for your suggestions
Greetings
Michele
--
View this message in context:
http://camel.465427.n5
Hi Ranx,
thanks so much.
Exactly, key/values validation... I have different file with different
criterions of validations and to create different Pojo is much expensive.
Is there a compenent in camel with xml configuration to validate a Map
Object?
Thaks in advance
Best Regards
Michele
dvance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-validate-Body-Content-in-Map-Object-tp5779118.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
Thanks for your reply.
Aggregator with completion timeout is a good idea. I try it.
Can I use infinispan like a persistent repository?
Thanks in advance
Greetings
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-configure-jms-consumer-with-dynamic
Hi everyone,
How to configure selector option of jms consumer to retrieve messages with
date processed today -1?
Example:
from("jms:queue:for?selector=processDate=${date:now-1}").to("mock:result").
Process date in header.
Thanks in advance.
Greeting
Michele
--
View thi
Hi Claus,
thanks for your reply.
In the meantime of jira ticket, can I extend QuartzComponent and
QuartzEndpoint(where the Trigger is initialized) to resolve my requirement?
Or can you provide me other suggestions?
Thanks in advance
Greeting
Michele
--
View this message in context:
http
11:30
.modifiedByCalendar("myHolidays") // but not on holidays
...
Thanks in advance.
Greeting
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Quartz-2-Consumer-with-cron-expression-and-avoiding-some-range-of-date-tp5778071.html
Sent from the Camel - Users mailing list archive at Nabble.com.
sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)[:1.7.0_79]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)[:1.7.0_79]
...
08:50:21,319 | WARN | erRedeliveryTask | DeadLetterChannel|
198 - org.apache.camel.camel-core - 2.15.1.redhat-
Caused by: [java.net.ConnectException - Connection refused: no further
information]
16:55:27,131 | DEBUG | erRedeliveryTask | DeadLetterChannel |
198 - org.apache.camel.camel-core - 2.15.1.redhat-620133 | Redelivery delay
calculated as 6
Thanks in advance
Best regards
Mich
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-Handling-and-Redelivery-Policy-between-routes-tp5776905.html
Sent from the Camel - Users mailing list archive
CRMInsertTicketPath
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Idempotent-Component-and-DLQ-Error-Handler-tp5776787.html
Sent
]}
CRMUpdatePath
Have a nice day.
Greetings
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-Producer-Dynamic-uri-based-on-info-in-header-tp5776187p5776192.html
Sent from the Camel - Users mailing
Hi everyone,
How to create dynamically uri for Jetty Component retrieving info in header
of exchange?
Es.
${body[id]}
Thanks in advance.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Jetty-Producer-Dynamic-uri-based
it or any suggestions?
Thanks in advance
Greetings
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Avoid-processing-same-message-in-route-tp5775839.html
Sent from the Camel - Users mailing list archive at Nabble.com.
!):
I also tried with \| and \\| but it doesn't work.
Thanks in advance.
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Flatpack-pipe-delimiter-in-xml-route
to resolve redeliveries on ConnectionException?
Thanks in advance
Kind regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-configure-correctly-Error-Handler-for-redelivery-tp5774877.html
Sent from the Camel - Users mailing list archive at Nabble.com.
-620133
Thanks in advance
Best Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-Dozer-Cannot-find-class-tp5774792.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-cache-usaed-in-Enricher-Route-tp5774747.html
Sent from the Camel - Users mailing list archive at Nabble.com.
camel route?
Thanks in advance
Bye
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Restlet-with-oauth-tp5774366.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.
(as reported in this post:
http://camel.465427.n5.nabble.com/CXFRS-Producer-td5722162.html)
Thanks for your help.
Kind Greeting
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-invoking-external-rest-service-in-camel-route-tp5774158p5774183.html
Sent from
.
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-invoking-external-rest-service-in-camel-route-tp5774158.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Derek,
You can follow these topics
http://camel.apache.org/oncompletion.html
http://camel.apache.org/endpointcompleter.html
Greetings
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Questions-about-Camel-s-FTP-component-tp5773919p5774001.html
Sent from
://activemq.apache.org/advisory-message.html and change the example like
this:
So, No messages are detected/send when the message, that it failed the
delivery, is moved in DLQ.
Is wrong my configuration? I lost some information?
Thanks in advance.
Regards
Michele
--
View
/file2.html
http://camel.apache.org/file.html
This directory holds examples of the FTP component
https://github.com/camelinaction/camelinaction2/tree/master/chapter6/ftp
Regards,
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Questions-about-Camel-s-FTP-component
you very much for your tips.
Best regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-Policy-set-on-Camel-is-ignored-tp5773409p5773536.html
Sent from the Camel - Users mailing list archive at Nabble.com.
*"
/>
and i also tried to set it by setting redelivery policy property defined as
but the policy is ignored, redeliveries are immediate.
I am a bit 'confused.
Sorry.
Thanks in advance.
Kind greeting
:
**
But the result is the same. Redelivery Policy is ignored.
I need to configure a DMLC for caching messages to re-delivery?
Thanks in advance.
Greeting
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-Policy-set-on-Camel
rds
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-Policy-set-on-Camel-is-ignored-tp5773409.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi all,
I am new to Camel and I'm writing to ask for help.
With Jboss Fuse 6.2 I implemented pattern Splitter+Process+Aggregator for my
scenario.
I noticed that from route with id FileToIncomingTickets to route
ProcessMessageData and ReportingOnImport *header is not propagated* (When i
log value
Hi,
i resolved it following links reported below:
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
http://camel.apache.org/jms.html (transferExchange enabled)
Sorry ;)!
Thanks
Regards
Michele
--
View this message in context:
http://camel.465427.n5.nabble.com/Message
is I'm obviously doing something wrong, but what?
I know it might be an ActiveMQ problem rather than a camel one but
camel/activemq interactions are not so linear and so I'm asking here first.
Thanks everybody in advance for their answers and suggestions,
Michele
import java.util.Enumeration
62 matches
Mail list logo