Thanks, it did give me some hints.
For anyone else interested, the solution I used was to configure the quartz
component to not start the scheduler automatically as follows.
In the unit test, inject this component in
@Autowired
private QuartzComponent quartzComponent;
Then during t
So I got a chance to look at this again and I think the root cause is an
issue with how the AggregateProcessor responds to prepareShutdown. I think
it responds correctely, but the DefaultShutdownStrategy does not consider
the fact that doing the prepareShutdown routine may actually spawn more
messa
thank you, as always, that's it.
Setting consumer.bridgeErrorHandler to true i can
handle onException the error.
Karlheinz
-
kh
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-loop-CannotGetJdbcConnectionException-from-route-tp5750911p5750930.html
Sent from the
Have you tried your xsl with an xslt-tool on your input?
Or with Xalan:
java -classpath xalan.jar;xercesImpl.jar org.apache.xalan.xslt.Process -IN
input.xml -XSL transform.xsl > output.xml
Jan
> -Ursprüngliche Nachricht-
> Von: contactreji [mailto:contactr...@gmail.com]
> Gesendet: Diens
Hi
You can use advice with, or some other ways. See bottom of this page
for some links to read
http://camel.apache.org/testing
On Tue, May 6, 2014 at 2:28 PM, dhavalsdoshi wrote:
> Hi,
>
> *Our Usecase:* On a certain trigger i.e. one file being touched in a
> particular location. On this we want
Hello
By adding ``xmlns="http://www.openapplications.org/oagis/9"`` you actually
output the document in this namespace, not in no-namespace.
What is your input document?
regards
Grzegorz Grzybek
2014-05-06 14:41 GMT+02:00 contactreji :
> Hi
>
> I am trying to use XSLT component.
>
> My incomin
Hi
I am trying to use XSLT component.
My incoming xml is a raw xml structure which has no namespace informations
associated with it.
Is there a way to write xsl code to transform this into another xml
structure.
I tried xsl code as follows
http://www.openapplications.org/oagis/9
ProcessRequi
Hi,
*Our Usecase:* On a certain trigger i.e. one file being touched in a
particular location. On this we want to fetch a file from sftp server and
then put it on a local file system.
We are achieving this in the following way
from(
On Tue, May 6, 2014 at 7:07 PM, Charles Moulliard wrote:
> s optional, what did you plan to return to your client
> calling your TCP Server exposed by nett
There is a situation when my application is failed to get response
from a third party, the client must also get the same condition.
--
Hi,
thanks again claus.
My idea was to send first a 100 length packet with the number of (100
length) packets, post them individually in the route and aggregate them.
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-consumer-fixed-message-size-tp5750868p5750923.
On Tue, May 6, 2014 at 1:36 PM, Minh Tran wrote:
> No one else unit tests their quartz routes?
>
Well Camel tests its own components. So maybe take a peak there
https://github.com/apache/camel/tree/master/components/camel-quartz/src/test
> On 06/05/2014, at 8:51 AM, Minh Tran wrote:
>
>> Hi
>>
No one else unit tests their quartz routes?
On 06/05/2014, at 8:51 AM, Minh Tran wrote:
> Hi
>
> Most of my routes start with either direct or jms. So to test I would use the
> @MockEndpoints and set all my expectations then trigger the route using a
> ProducerTemplate. But I'm struggling to
Hi
Its more of a netty question than Camel. You need to use a netty codec
that matches the protcol you use for the data transfer. Is it 100
fixed length, or is it something else. eg how do you know when you got
all the data for a "single message".
There is some out of the box codec's for fixed l
Hi
See these links
http://camel.apache.org/why-does-my-file-consumer-not-pick-up-the-file-and-how-do-i-let-the-file-consumer-use-the-camel-error-handler.html
http://camel.apache.org/how-do-i-handle-failures-when-consuming-for-example-from-a-ftp-server.html
https://camel.apache.org/polling-consume
Sorry i tiping erros, naturly its
onException(CannotGetJdbcConnectionException.class).
Nevertheless it does not work.
-
kh
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-loop-CannotGetJdbcConnectionException-from-route-tp5750911p5750918.html
Sent from the Camel -
If the response is optional, what did you plan to return to your client
calling your TCP Server exposed by netty component ?
On Tue, May 6, 2014 at 12:26 PM, Muhammad Ichsan wrote:
> Hi All
>
> Is it possible to make response to be optional in Netty component?
>
> The following routes still mak
Syntax to be used is onException(CannotGetJdbcConnectionException.class)
and not onExectption(CannotGetJdbcConnectionException.class).
On Tue, May 6, 2014 at 11:51 AM, kalber wrote:
> How can i handle this error ? On first exchange i get this error and the
> program
> loops over it.
>
> How can
Hi All,
I am using amq+camel+smpp for working with SMSC. I used SMPP as camel
coponent and use these endpoints in routes. I want to monitor on SMPP
connection bind, logs every SMSC bind and unbind in separate file than
activemq.log.
Kindly guide me in approaching the mentioned event scenario.
Hi All
Is it possible to make response to be optional in Netty component?
The following routes still make all the response sent back to its
clients, regardless the body is.
${body} == 'intan'
Thanks
--
~The best men are men who
Apache Camel provides 2 ways for error handling at context level:
/errorHandler /and /onException/.
I am looking for a solution that provides best of both the worlds in one
configuration. /*What I want is that I should configure one error handler
(may be a custom one) and within that custom error
How can i handle this error ? On first exchange i get this error and the
program
loops over it.
How can i intercept this error ?
onExectption(CannotGetJdbcConnectionException.class) not works.
-- error message ---
[org.springframework.jdbc.Canno
Thanks Preben, this change to our ear deployment descriptor
(weblogic-application.xml) fixed it:
..
..
com.sun.xml.*
We did try something similar before but I suspect there was another problem
at the time or a just
Hi,
I am not sure what you want to do; signature with X.509 keys or with PGP (the
key rings in the data format indicate PGP whereas your route indicates X.509).
Can you clear this up?
Best regards
Stephan
-Original Message-
From: sreejeb2 [mailto:sreejith.gopinat...@lumoenergy.com.au]
You get this exception
(org.apache.camel.component.crypto.processor.SigningProcessor)
because Camel processor is not able to retrieve from the header '
CamelSignaturePrivateKey'. I suspect that the crypto sign endpoint has not
been able to load your file 'my_private_key.ppk'. Can you check that thi
Thanks Claus for your answer.
I'm sure I'm sending blocks of 100 bytes.
You are right, sometimes is posting to the route two or more of this blocks
together.
Is there a way to ensure that each 100 bytes received, the netty component
will post a new message?
Or I have to create a custom decoder wi
25 matches
Mail list logo