Hi
You should make the method a static method on your OrderItemHelper,
as the constructor is private, which means its not possible to create
a bean instance of it
If you have a static method you need to declare the FQN of the bean in
the as
with the beanType attribute for the FQN
Alternativ
Hi
See NettyConstants there is some keys for host information etc.
I would assume you can get these details as message headers with these keys.
You can check the source to be sure.
https://svn.apache.org/repos/asf/camel/trunk/components/camel-netty/
And see this FAQ for a dynamic "to"
http://came
Thank but I see I cannot explain myself. The example you show is also shown
in the camel apache web site.
I cannot understand the syntax of that file expecially:
- can the "role" be linked to an ldap/ad group?
- when I am ringo in sec-level1 what does it mean that can I access "zone1"
readonly?
Sorry, forgot to mention that it runs inside Karaf 2.2.5.
Do I have to expect problems?
Thanks Stefan
On 09.03.2012 23:19, Stefan Eder wrote:
Spring ORM with Hibernate 4 requires Spring 3.1.
[org.springframework.orm.hibernate4.*]
I use Camel 2.9 withSpring 3.1 (and Hibernate 4) and had no probl
Spring ORM with Hibernate 4 requires Spring 3.1.
[org.springframework.orm.hibernate4.*]
I use Camel 2.9 withSpring 3.1 (and Hibernate 4) and had no problems yet.
- Stefan
On 09.03.2012 22:54, Christian Müller wrote:
Is there a special feature you are looking for?
There is an issue [CAMEL-4778|
Is there a special feature you are looking for?
There is an issue [CAMEL-4778|
https://issues.apache.org/jira/browse/CAMEL-4778] for this upgrade. The
challenge here is, Karaf 2.2.x is using Spring 3.0.x, Karaf 3.0.0 is using
Spring 3.1.x. Because the Camel feature file leverage on the Karaf Sprin
I am currently trying to write a test for this error ...
The problem is that the NPE only seems to occur when the route is run in
OSGi.
I do not set any error handler. Still the DefaultErrorHandler is run.
Does anyone know in which cases this might happen?
Christian
Am 09.03.2012 20:27, sch
Another idea here is to set the scope to 'request' on the WSS4J interceptor
and override a method to set the encryption user. Has anyone done that
before similar to this:
http://forum.springsource.org/showthread.php?81311-Configuring-WSS4J-Encrypt-for-multiple-clients-how
Thanks,
Yogesh
--
View
I have a route that starts with from("jms:...") somewhere in the route
an exception is thrown.
When that happens I get a NPE in the RedeliveryErrorHandler. The line is:
SubUnitOfWorkCallback uowCallback =
exchange.getUnitOfWork().getSubUnitOfWorkCallback();
The reason is that un
Thank you very much for the valuable input!
Yes, JCR has an API to unregister listener, so I will need to do proper clean
ups.
I'll keep you updated.
Cheers,
Woonsan
>
> From: Claus Ibsen
>To: users@camel.apache.org
>Sent: Friday, March 9, 2012 12:33 AM
>Subj
By following the Composed Message Processor example (see
http://camel.apache.org/composed-message-processor.html) ,
I created my route as below:
body
The beans a
Hello All,
I am using Camel/CXF to implement WS-Security Requirements, specifically in
this case Signature Encrypt and Timestamp. I used an example that Camel
distributed as a starting point and manually configured the WSS4J
interceptors.
My issue is that my service will call maybe 10 or 20 ser
Hello,
I am sure this question has been answered somewhere, but I can't seem to get
my search criteria to return the answer.
I have a camel-netty route setup using spring xml. The route receives a udp
datagram, decodes it and prints the payload, then encodes the message and
sends it out again on
I got a strange error when using netty(with camel), we use
LengthFieldBasedFrameDecoder for communication, sometimes got two messages
"merged" into one, and hence the forthcoming data get all wrong.
for example:
client send two messages:
[10] and [10]
where [10]
Hi, what is the better way to create a MultiStreamResequencer ?
I would like to :
Replace the ResequencerEngine engine by a map (indexed by
stream) [also Delivery delivery].
Add an Expression to choose the right Resequencer engine.
Add a way to close a resequencer at the end of the str
Ok guys,I just found what I wanted.
Here is the code:
http://camel.apache.org/schema/spring";>
com.test.integration.camel.spring.poc
Hi,
What is the road map for Camel with regard to Spring 3.1?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-and-Spring-3-1-tp5550625p5550625.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Fri, Mar 9, 2012 at 1:31 PM, Aida wrote:
> Ok, thank you Claus.
>
> I am looking forward to the improvement. Meanwhile I will use a filter class
> as you suggested to minimize the impact.
>
The fix/improvement has been committed to trunk and the 2.9.x branch.
> Thanks again.
>
> --
> View th
Claus,
I get the latest AMQ 5.6 SNAPSHOT.
Thank you.
Em 08/03/2012, às 11:10, Claus Ibsen escreveu:
> Hi
>
> The next AMQ 5.6.0 fixes that. Or use the latest Fuse ActiveMQ 5.5.1
> release that has this fixed.
>
> Or patch the AMQ 5.5.1 yourself.
> There is a JIRA ticket in AMQ about this.
>
Hi,
Here it is...
https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/resources/securityconfig.ini?view=markup
https://svn.apache.org/viewvc/camel/trunk/components/camel-shiro/src/test/resources/securityconfig.ini?view=markup
Cheers,
Ashwin...
-
Ok, thank you Claus.
I am looking forward to the improvement. Meanwhile I will use a filter class
as you suggested to minimize the impact.
Thanks again.
--
View this message in context:
http://camel.465427.n5.nabble.com/FTP-ConsumerTemplate-Threads-remaining-alive-tp5548338p5550436.html
Sent fr
Hi,
If you are trying to implement some kind of of callback mechanism it is an
higher level application requirement and beyond the communication
facilitation focus of the Netty component.
That said, it is easily do-able, if you make the following concession...
1> The client sends a TCP request
Hi
I logged a JIRA to improve this to shutdown the thread pools more eagerly
https://issues.apache.org/jira/browse/CAMEL-5072
On Fri, Mar 9, 2012 at 12:39 PM, Aida wrote:
> Here is:
>
> --
> Name: Cam
Here is:
--
Name: Camel (processesCamelContext) thread #22 -
ftp://ftp_user@test_host.com:21/readFileDir
State: WAITING on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36bc16b2
Hi
I just wanted to let everyone know that CamelOne is happening May
15-16 in Boston.
CamelOne is an event developed to bring users and developers of Apache
Camel, ActiveMQ, ServiceMix and CXF together.
Last year it was a really great event. I will definitely be there.
There is also training of
On Thu, Mar 8, 2012 at 10:59 PM, sambardar wrote:
> Yes, the issue was related to Context not up and now it works fine. I have a
> need to create a binary stream over the TCP connection. Means , in client
> server mode, I want to send a message to the server(that will run on a
> particular ip/port
2012/3/9 Łukasz Dywicki :
> I think that support for named parameters is something we could provide.
> Another thing is to let users provide own implementation of
> PreparedStatementCallback to map more complex parameters. I use camel-sql and
> as you, have same problem with conversion to list..
On Fri, Mar 9, 2012 at 11:58 AM, Aida wrote:
> Hi again,
>
> I have upgraded to camel 2.9.1 in order to avoid CAMEL-4976 but there is no
> changes.
>
> I also try to stop the endpoint (no changes again) and use the
> ServiceHelper.stopAndShutdownService(enpoint) with no success.
>
> The EndpointR
Hi again,
I have upgraded to camel 2.9.1 in order to avoid CAMEL-4976 but there is no
changes.
I also try to stop the endpoint (no changes again) and use the
ServiceHelper.stopAndShutdownService(enpoint) with no success.
The EndpointRegistry's size remains stable although I can still see the
On Fri, Mar 9, 2012 at 10:50 AM, Aida wrote:
> Hi Claus,
>
> This is quite weird but calling ”camelContext.removeEndpoints(endpointUri)”
> has no effect, the threads still there (from now, the inmortal thread, ;-D)
>
Can you try to stop the endpoint before removing it.
Also see CAMEL-4976 as ther
Hi.
I started from the following unit test and made some changes to reproduce an
issue we encountered in our application:
https://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/SplitSubUnitOfWorkStopOnExceptionTest.java?r=1134194&r=1209585&r=1209585
Hi Claus,
This is quite weird but calling ”camelContext.removeEndpoints(endpointUri)”
has no effect, the threads still there (from now, the inmortal thread, ;-D)
Furthermore, if I call “camelContext.getEndpoints()” these endpoints are not
in the list.
If it helps, I am using a spring based ca
Thanks for your answers. I have a better undestanding now of how the
exception handling works.
Cheers!
Răzvan Ludvig
--
View this message in context:
http://camel.465427.n5.nabble.com/Inconsistent-onException-behaviour-tp5541356p55500
CamelContext has API to remove endpoint(s). You can use that.
On Fri, Mar 9, 2012 at 10:15 AM, Aida wrote:
> Hi,
>
> First of all, thanks for the quick response.
>
> I will try to explain with more details what I am doing:
> 1) I build the endpoint uri to retrieve the file from the FTP server. E
Hi,
First of all, thanks for the quick response.
I will try to explain with more details what I am doing:
1) I build the endpoint uri to retrieve the file from the FTP server. Each
day, the file has a different name (based on date), so the endpoint has to
be created dynamically.
2) Save the ret
I think that support for named parameters is something we could provide.
Another thing is to let users provide own implementation of
PreparedStatementCallback to map more complex parameters. I use camel-sql and
as you, have same problem with conversion to list..
Best regards,
Lukasz
Wiadomość
36 matches
Mail list logo