When you call the new InitialContext(); the camel context is started and it
already loads the camel route, so it’s useless when setup the camel context
after the camel context is started.
You can extend the GuiceCamelContext to apply some setting on the CamelContext
inside the start method.
--
Hello,
I have a custom singleton endpoint which manages a resource used by all
consumers created by this endpoint. I open and close the resource in the
start() and stop() methods of the endpoint assuming that this way I would
prevent illegal states, i.e. the resource is closed, but a consumer is s
What version of Camel do you use?
On Thu, Mar 26, 2015 at 8:40 AM, Atanas Shindov
wrote:
> Hello,
>
> I have a custom singleton endpoint which manages a resource used by all
> consumers created by this endpoint. I open and close the resource in the
> start() and stop() methods of the endpoint ass
2.12.1
--
View this message in context:
http://camel.465427.n5.nabble.com/Route-removal-triggers-endpoint-shutdown-tp5764796p5764800.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Check the release notes for 2.15 which has improvements in this area
http://camel.apache.org/camel-2150-release.html
On Thu, Mar 26, 2015 at 9:20 AM, Atanas Shindov
wrote:
> 2.12.1
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Route-removal-triggers-endpoint-
I guess you are referring to this entry:
"Removing a route now also remove its static Endpoint's from the
EndpointRegistry (if those endpoints are not shared and used by other
routes). Mind that any dynamic endpoint created during routing from dynamic
EIPs such as recipient list, routing slip, dyn
The use case is: I want expose a number of methods via jmx but the number of
methods is known at runtime - given by user settings (constant after start).
An alternate solution would be to expose a method that returns a list of
strings (the relevant user settings) and another method that has a stri
My problem with camels built in guice was, i could not control the start of
the context. This happens as soon as guice begins - within the module you
are extending (calling run is not necessary).
So my alternate solution to use guice is: I extended
org.apache.camel.main.Main and injected my bound c
i just created an ticket with a suggestion:
https://issues.apache.org/jira/browse/CAMEL-8555
--
View this message in context:
http://camel.465427.n5.nabble.com/Setting-up-CamelContext-with-Guice-tp5764709p5764818.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hi guys, anyone know if in camel is possible to perform math operations like
sum and division with simple expression?
Thanks in advance
--
View this message in context:
http://camel.465427.n5.nabble.com/Math-operations-with-simple-expression-tp5764819.html
Sent from the Camel - Users mailing l
Hi
No this is not possible and not the goal of that language. You can use
groovy / javascript etc instead
On Thu, Mar 26, 2015 at 11:09 AM, angelo.rlcosta
wrote:
> hi guys, anyone know if in camel is possible to perform math operations like
> sum and division with simple expression?
>
> Thanks i
Hi Claus,
I just checked the 2.15 code and it's the same:
/// endpoints should only be stopped when Camel is shutting down
// see more details in the warmUp method
ServiceHelper.stopAndShutdownServices(route.getEndpoint());/
Looks like you are still closing an endpoint on route removal?
--
Vi
Thanks Claus.
Another question, i am looking at http://camel.apache.org/splitter.html and
thinking if its possible to split for example 100 items in to smaller chunks
of 10 items?
Any idea?
Regards,
--
View this message in context:
http://camel.465427.n5.nabble.com/Math-operations-with-simpl
Hi Angelo,
Could you split you're questions in different threads?
This is easier to follow and each thread is so problem specific.
Regards,
Morgan
On 26/03/2015 12:45, angelo.rlcosta wrote:
Thanks Claus.
Another question, i am looking at http://camel.apache.org/splitter.html and
thinking if i
Ok Sure Morgan!
Ângelo Costa
On Thu, Mar 26, 2015 at 11:59 AM, Morgan.Hautman [via Camel] <
ml-node+s465427n5764823...@n5.nabble.com> wrote:
> Hi Angelo,
>
> Could you split you're questions in different threads?
> This is easier to follow and each thread is so problem specific.
>
> Regards,
>
If you use tokenizer to split then it has a group option
http://camel.apache.org/splitter.html
On Thu, Mar 26, 2015 at 12:45 PM, angelo.rlcosta
wrote:
> Thanks Claus.
>
> Another question, i am looking at http://camel.apache.org/splitter.html and
> thinking if its possible to split for example 10
Hi to everybody,
First of all, many thanks for such a great framework that you implemented so
far.
It is extremely powerful and very fast. The documentation is quite in
detail.
I am implementing a web application for our integration tests.
I need to track incoming / outcoming messages to database.
Not that I've seen. I've had the need for this in the past. Would make a
nice new feature.
On Wed, Mar 25, 2015 at 3:09 AM, contactreji wrote:
> Hi
>
> Is there something out of the box in camel which can help me split json
> records?
>
> Regards
> Reji
>
>
>
> -
> Reji Mathews
> Sr. Devel
i'm looking to implement a simple string split and aggregate to learn
camel pattern implementations.
i have splitting on a space working but i can't see how to easily
reassemble the bits. is there a way to do this without implementing a
custom aggregator strategy?
here's my main:
public static
Hi
I am not sure how far we got with jsonpath
http://camel.apache.org/jsonpath
But json path may support some kind of iterating json, and if it does
we can use it in Camel.
Maybe give it a try and check its docs what it can do
https://code.google.com/p/json-path/
On Thu, Mar 26, 2015 at 2:43 PM
Hi
What version of Camel do you use?
On Thu, Mar 26, 2015 at 7:27 AM, Liliana.Neagul
wrote:
> Hi,
>
> I'm trying to send from a camel route an HTTP request using an encoded query
> parameter (for symbol euro
> €), and it seems that camel decode the parameter and sent it to httpclient
> decoded.
Hi,
Did you try to setup the query parameter with the header name of
Exchange.HTTP_QUERY?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On March 26, 2015 at 2:28
Hi
If you want to aggregate you would need to use one. The splitter has
that supported out of the box as the composed message processor eip
See the splitter only section
http://camel.apache.org/composed-message-processor.html
For aggregation strategy you can use pojos also with camel, so you can
Hi,
I guess you just want to create the proxy dynamically, maybe it is based on the
request url or content, Am I right?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁wille
First off, thanks for this feature. It rocks. I've used it a few times
already.
Near the bottom of the page http://camel.apache.org/rest-dsl, there's a
typo in the section "Enabling or disabling Jackson JSON features". The
XML code snippet has a few errors:
1. "bindingModel" should be "bindin
Hi Jiang,
Actually, there is a web application where you will have possibility to
publish web services.
Client will load wsdl file and then i will be generating it via maven with
help of camel.
This step is clear and i have already finished it but i also want to track
incoming and outgoing messages
I was trying to accomplish this same sort of functionality. Is there a
specific min version that would allow us to write to one file and then
rename on completion?
The specifics behind mine were to have a route that pulled messages off of a
queue and append a file until a timer went off then the
I'm using apache-camel version 2.14.1
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-decodes-HTTP-query-params-and-httpclient-fails-with-Invalid-query-exception-tp5764794p5764842.html
Sent from the Camel - Users mailing list archive at Nabble.com.
@Willem: Yes I tried to the parameter in Exchange.HTTP_QUERY header name. It
has the same behavior.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-decodes-HTTP-query-params-and-httpclient-fails-with-Invalid-query-exception-tp5764794p5764843.html
Sent from the Ca
Or just convert json to a Map and iterate over that.
/Preben
--
View this message in context:
http://camel.465427.n5.nabble.com/Json-Splitter-tp5764739p5764844.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Fixed, thanks for reporting and please feel free to edit the site as you go
along.
On Thu, Mar 26, 2015 at 4:16 PM, Mark Webb wrote:
> First off, thanks for this feature. It rocks. I've used it a few times
> already.
>
> Near the bottom of the page http://camel.apache.org/rest-dsl, there's a
>
Will do. I just checked any my account (from my MINA days) still works.
Thanks,
Mark
On Thu, Mar 26, 2015 at 11:03 AM, Taariq Levack wrote:
> Fixed, thanks for reporting and please feel free to edit the site as you go
> along.
>
> On Thu, Mar 26, 2015 at 4:16 PM, Mark Webb wrote:
>
> > First
Hi! I'm trying to use the JMS component, which connects to a JBossMQ (it runs
on a JBoss 4.2.3GA :/ ) and I'm having some problems when I try to use XA
transactions (actually, even with local transactions I get the same
behavior).
The problem is, when I try to set a Transaction Manager to a JMS Co
Gabriel!
You and I work at the same company.
Contact me if you need help!
On Thu, Mar 26, 2015 at 3:12 PM gabfssilva wrote:
> Hi! I'm trying to use the JMS component, which connects to a JBossMQ (it
> runs
> on a JBoss 4.2.3GA :/ ) and I'm having some problems when I try to use XA
> transactions
Does camel support SFTP with RequiredAuthentications2 as provided in this link
for auth:
http://security.stackexchange.com/questions/17931/possible-to-use-both-private-key-and-password-authentication-for-ssh-login?
Thanks
Shreyas
Hi
You should favor to keep state on the component and then delegate from
endpoints on add/remove etc, then you can keep track of what are in
use and when there is no users of the resource, you can cleanup.
This is what other camel components does, such as seda / jetty etc.
On Thu, Mar 26, 2015
I can confirm jsonpath works in a splitter.
On 27/03/2015, at 12:46 AM, Claus Ibsen wrote:
> Hi
>
> I am not sure how far we got with jsonpath
> http://camel.apache.org/jsonpath
>
> But json path may support some kind of iterating json, and if it does
> we can use it in Camel.
>
> Maybe give
Hi
But that said, we could likely take a look if we could detect if the
route endpoint is used by other routes, and avoid shutting it down, as
we have that logic for endpoints used within the route.
You are welcome to log a JIRA ticket then we can take a stab at improving this.
On Thu, Mar 26, 2
Hello!
This is probably stupidly simple, but: I'd like to use the new SortTerm[]
functionality with IMAP in Camel 2.15.
I'm using spring xml to configure my bean bindings and want to refer to the
sort term (say, SortTerm.SUBJECT) by referring to a binding id in the
endpoint URI like this: sortTe
I think you can use CXF Interceptors[1][2] to trace the message[3], then you
don’t need to build a proxy to interceptor all the message.
You can do some addition work base on CXF Logging Interceptor.
[1]https://cxf.apache.org/javadoc/latest/org/apache/cxf/interceptor/LoggingInInterceptor.html
[2]
Hi Minh
Did you just say you made the json path work in camel splitter ?
If so can u share ur splitter component cofig from the route file .
Cheers
Reji
On 27 Mar 2015 02:56, "Minh Tran" wrote:
> I can confirm jsonpath works in a splitter.
>
> On 27/03/2015, at 12:46 AM, Claus Ibsen <[hidden e
Here you go.
$.[*]
….
The json I feed into it is an array, e.g. [ {…}, {….} ]
On 27/03/2015, at 3:08 PM, Reji Mathews wrote:
> Hi Minh
>
> Did you just say you made the json path work in camel splitter ?
>
> If so can u share ur splitter component cofig from the route file
Hey that's cool. Let me try my luck and update !
Thanks Minh
Cheers
Reji
On 27 Mar 2015 09:48, "Minh Tran" wrote:
> Here you go.
>
>
> $.[*]
>
>
>
> The json I feed into it is an array, e.g. [ {...}, {} ]
>
> On 27/03/2015, at 3:08 PM, Reji Mathews wrote:
>
> > Hi M
Thanks Thiago!
Answering my own question: I forgot to define the *maxPoolSize* property in
*AtomikosConnectionFactoryBean*, the default is 1, and when I set to a
higher value, everything works as expected.
--
View this message in context:
http://camel.465427.n5.nabble.com/Questions-about-JMS-c
Dear Camel Developers.
I love Camel.
My Customer’s FTP environment has a little bit different usage.
They require “account” while ftp logging in.
But Camel has no input of account of ftp login.
In RFC959 :
ACCOUNT (ACCT)
The argument field is a Telnet string identifying
45 matches
Mail list logo