You should see an INFO logging with the endpoints being mocked during
the advice process.
Don't you see that?
On Fri, Apr 4, 2014 at 9:09 PM, Doug Turnbull
wrote:
> Hello,
>
> I'm attempting to use AdviceWith for testing a route The route looks like:
>
> from("file:inbox?doneFile=done")
>
Hi
The xpath should not have " " around it
On Fri, Apr 4, 2014 at 8:45 PM, npa wrote:
> I have a simple flow that reads from an activemq1 and parses an id from the
> message and sends the id across to another activemq2.
>
> Here is an example of message that gets written to activemq1:
>
>
>
I may not be able to change the SAML token. I will see if I can work around
it.
I implemented this the validator class.
import org.apache.ws.security.WSSecurityException;
import org.apache.ws.security.saml.ext.AssertionWrapper;
import org.apache.ws.security.validate.SamlAssertionValidator;
publi
It could be more easy if we just use the SimpleConsumer binding which can let
us deal with REST message in a simple generic way in Camel route. Please check
out Simple Binding Style[1] page for more information.
[1]http://camel.apache.org/cxfrs.html#CXFRS-ConsumingaRESTRequest-SimpleBindingStyl
Willem pointed earlier on to the possibility of using ProducerTemplate.
I saw the example somewhere today of using the native CXF JAX-WS
declarations with the endpoint implementations additionally being
injected with CamelContext -> getting ProducerTemplate and invoking on
the route - the same
I have a simple flow that reads from an activemq1 and parses an id from the
message and sends the id across to another activemq2.
Here is an example of message that gets written to activemq1:
123
I need to parse out the id from the above message body and send the below
message to ac
Hello,
I remember reading somewhere that XA transactions are slow, overkill and not
reliable.
Do you think a regular transaction would do the job for me here. A single
transaction which would cover the 2 "to" uri's.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Succ
Hello,
I'm attempting to use AdviceWith for testing a route The route looks like:
from("file:inbox?doneFile=done")
.unmarshall(csv)
.split(body())
.to("direct:csvRecords")
I've written a test that attempts to confirm that files get unmarshalled to
csv correctly and are sent
Hello camel guys :-)
I'm trying to invoke my CXF Web Service (contract first) from a camel route.
I would like to invoke the method "updateJobsStatus(String)"
However I get an IllegalArgumentException:
Stacktrace
Endpoints are locations from which input data is consumed or output data is
sent to. So if you call to(endpoint) then you are sending data to that
endpoint. If you have a from(endpoint) you are consuming data produced by
that endpoint. The confusion can be magnified by the fact that we configure
th
Greetings,
I have an odd need. Basically I need to have a transactional client that
only is transacted on sending messages but not consuming them.
I have a route that polls a database on a quartz timer and then makes a SQL
call. If the call returns any records, they get split up and put on an
eve
I am trying to learn Camel, and so I making an article that explain Camel's
basic notions that a newbie has to know to understand Camel.
For this purpose, I am reading the book Camel in Action, where the authors
define the following main concepts:
- Messages
- Exchanges
-
- Processors?
ok I got it I used the value of the header instead of the header name.
Thanks,
Lydie
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-xpath-tp5749754p5749817.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thnaks Claus:
So Itried this:
/authorizationCheck='enabled'
but I still get an error:
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 50;
The markup in the document following the root element must be well-f
On Fri, Apr 4, 2014 at 12:37 PM, Gnanaguru S wrote:
>
> Finally I ended up writing a article on Camel unit testing today :)
>
> http://bushorn.com/unit-testing-apache-camel/
>
Hi
Thanks for sharing your blog post. I added a link to it from our link
collection at
http://camel.apache.org/articles
Hello
XA transactions are your friend in this scenario.
Beware that the whole goal of leveraging a Message Broker is to decouple
the producer from the consumer. In fact, when the producer sends the
message, there may be a consumer there may be not, but if you've set the
JMS delivery mode appropri
Does Camel have any indicators that the message has been succesfully
delivered to the consumer. As a producer, how do I know that message has
been delivered, so that I can issue out succesful acknowledgements.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Succesful-de
I have been trying to come up with a camel route that would read from an
activemq and write to Oracle AQ.
However, when a message is written to Oracle-aq(all I care is succesfull
delivery of the msg to Oracle aq), I have to write a successful message to
another Active mq queue("something like mess
Finally I ended up writing a article on Camel unit testing today :)
http://bushorn.com/unit-testing-apache-camel/
Cheers
Guru
gnanaguru.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Test-driven-development-tp5749539p5749791.html
Sent from the Camel - Users mail
Thanks for suggestions!
Setting option waitForTaskToComplete=Never on both to(seda) from(seda)
didn't change anything. Seda thread still trying to delete the input file.
I've also tried wireTap("seda:remote?waitForTaskToComplete=Never") but id
didn't work at all. Seda did not receive any exchange
Hi
It is not possible to use jaxrs:server in combination with cxfrs, it is
only possible to do
and then direct to from the camel route typically starting from a
servlet. This approach is somewhat limited unless one is prepared to
have JAX-RS server implementation be written with Camel API
Check out this page https://camel.apache.org/exception-clause.html
Specifically look for the section: *Handle and continue exceptions*
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/rober
Hi,
If i use sftp inside from uri, am getting exceptions like this
*For invalid username *-
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
connect to sftp://abcd@localhost:22
at
org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java
Thanks Sergey,
I have also tried by creating services using cxf jaxrs server endpoint as
below
and used in camel
I might consider experimenting with camel restlet , http and jetty but also
those will come under the scope of
Hello,
I have a route with onException clause. Additionally, I'd like to ignore all
exception on some not so important parts of the route while saving exception
policy on the rest of the route. If an exception occurs while enriching the
message with results of to("http://notimportant).to("ftp:noti
I am using RabbitMQ component of Camel, for Camel routing. While creating a
queue from RabbitMQ console I have not explicitly mentioned any exchange
name. But the url expects the exchangeName
rabbitmq://hostname[:port]/exchangeName?[options]
What should be the value of exchangeName for a default
As the error message says, "IssueInstant" is a required attribute of a SAML
2.0 assertion. Do you have control over the generation of the SAML token?
The SAML Token is technically invalid without this attribute. If not, then
an alternative is for you to extend the SamlAssertionValidator in WSS4J +
27 matches
Mail list logo