It seems that camel-vm component works in OSGi environment rather good to
communicate between bundles and as it extends seda component it supports
pub-sub.
So now the question is why there are a lot of places and blogs that suggest to
use nmr for inter-bundle communication if camel-vm could be
Hello.
I have got an working example in Camel 2.6. I upgraded to Camel 2.9, now
the example fails.
The Splitter does not work anymore. I tried for two hours now, but I do not
understand what changed or how to fix it.
Here is the route. Input body is for example:
"kai 1 / dvd , kai 2 / cd , kai 3
I have it working in MESSAGE format already, but I wanted the cxf endpoint to
do some validating on data types and message format before ever sending it
to the actual cxf address (another server)
What is the best way to do this? I have a webservice with a WSDL deployed
as a camel cxf component th
It takes me a while to trace the issue[1], just for the user who
interesting about this issue.
[1] https://issues.apache.org/jira/browse/CAMEL-3987
On Fri Feb 17 10:28:17 2012, ychawla wrote:
Well Willem,
You have solved the problem... It is a bug with Camel 2.6.0 that is
corrected in Camel 2.
Well Willem,
You have solved the problem... It is a bug with Camel 2.6.0 that is
corrected in Camel 2.8.4. I am on ServiceMix 4.3.0 and that ships with
Camel 2.6.0.
I changed my POM to use the newer version of Camel and CXF and ran it in
Eclipse just fine.
Thanks for helping with this.
-Yogesh
CXF should be able to throw the ConnectException out in current trunk.
Which version of Camel are you using ?
Willem
On Fri Feb 17 10:02:11 2012, ychawla wrote:
Hello All,
I got Camel to see the exception by throwing a fault in my interceptor.
This is probably not the preferred way to do this, b
Hi Willem,
Thanks for posting the unit test. I am wondering if I am getting the error
because I am using a one-way exchange. For example, I also tried this with
a producer template:
senderExchange = new DefaultExchange(context,
ExchangePattern.InOnly);
enderExchange.getIn().setBo
Hello All,
I got Camel to see the exception by throwing a fault in my interceptor.
This is probably not the preferred way to do this, but it seemed to work:
public class CamelExceptionInterceptor extends
AbstractPhaseInterceptor {
public CamelExceptionInterceptor() {
supe
Hi,
How does your DeadLetterErrorHandler looks like ?
I just wrote an simple test case on the camel-cxf[1] and the camel can
get the exception when the server is down.
BTW, can you show me the full stack trace ?
[1] http://svn.apache.org/viewvc?rev=1245288&view=rev
Willem
On Fri Feb 17 08:13
Hi Guys,
It looks like you want to use a single service as a facade to the multiple
services behind the scenes. Camel can do that. Does the service that you
want to use as the facade have a WSDL/Service Spec? If yes, you can set up
a CXF endpoint in either Payload or POJO mode for that service.
It really dependents on what's you have.
If you already has soap message, you can use camel-http or camel-cxf
MESSAGE dataforate to send the message to the client.
camel-cxf POJO dataformate can consume the SOAP message directly and
trun it into a method invocation parameters.
You may find s
Hello All,
Consider a simple camel route like this that invokes a one way service:
opName
opNamespace
If the endpoint you are invoking is down, CXF will throw an exception:
Caused by: java.net.ConnectException: Conn
I guess really the question is how do you go about using the jaxb component
to properly do this? Or is there an example somewhere that shows this
within spring to marshal and incoming message and send it to a POJO cxf
endpoint?
--
View this message in context:
http://camel.465427.n5.nabble.com/C
Ok. Thanks for the help!
--
View this message in context:
http://camel.465427.n5.nabble.com/Property-placeholder-tp5489904p5490103.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Thu, Feb 16, 2012 at 5:49 PM, swwyatt wrote:
> Seems to work for all the attributes except rejectedPolicy. I'm getting this
> error now:
>
> Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value
> 'REJECTED_POLICY' is not facet-valid with respect to enumeration '[Abort,
> Calle
Seems to work for all the attributes except rejectedPolicy. I'm getting this
error now:
Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value
'REJECTED_POLICY' is not facet-valid with respect to enumeration '[Abort,
CallerRuns, DiscardOldest, Discard]'. It must be a value from the
Hi
Remove the prop: prefix from the attributes.
On Thu, Feb 16, 2012 at 5:04 PM, swwyatt wrote:
> I am attempting to use property placeholders as described here:
> http://camel.apache.org/properties.html
>
> I am using camel 2.8.1.
>
> I am getting this error on deployment:
>
> Caused by: org.x
I am attempting to use property placeholders as described here:
http://camel.apache.org/properties.html
I am using camel 2.8.1.
I am getting this error on deployment:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute
'prop:poolSize' is not allowed to appear in element '
Makes sense, what would I have to do to use POJO format for a message being
read in on a jetty port? Currently I just read the message off of the port,
convert to a string, check a couple attributes through the spring DSL, and
then send it to the CXF endpoint.
--
View this message in context:
ht
camel-seda only works in a single camel context. I need to communicate between
OSGi bundles in the same JVM and camel-nmr fits rather well for this task.
I need to pass rather large amount of data between bundles and JMS component
even if used in the same VM (for example vm transport in activemq
Hi,
Any particular reason why it has to be an NMR endpoint. Can this not be done
using SEDA... The NMR in JBI was built around SEDA or JMS...
Just a thought...
- Ashwin...
-
-
Ashwin Karpe
Apache Camel Committer & Sr Principal Consult
Hi there,
I’d like to use NMR to communicate between OSGi bundles and I need multiple
consumers to subscribe to NMR endpoint.
The problem is only one of the consumers receive messages, although I can see
multiple endpoints in JMX.
Is it possible to use NMR for pub-sub-like communication in came
Hi,
You might want to use a type converter to convert the BytesMessage into a
String. Please check out the convertBodyTo() operation in DSL...
http://camel.apache.org/convertbodyto.html
http://camel.apache.org/convertbodyto.html
Cheers,
Ashwin...
-
I'm wondering about doing the same - but haven't got that far yet.
Probably camel + cxf component would be the best route.'
Or camel + http component if you really do not care about the soap
stuff - but I guess you will.
2012/2/16 Mauricio Chamati :
> Guys, I've read a lot under camel forums and
Guys, I've read a lot under camel forums and tutorials, but I could not
found an easy way to use it as a Web Service (WS) broker. I know that it
sounds easy, and I thought camel would work, but I could get it. Any help
would be appreciate, follows the situation: I have many applications
providing t
On Thu, Feb 16, 2012 at 12:18 PM, Mikeycmccarthy
wrote:
> I'm trying to write an integration test where some error condition happens, a
> retry policy kicks in, and eventually the message ends up back on the queue.
> I'm using the CamelSpringTestSupport to do this.
>
> The thing I want to throw an
On Thu, Feb 16, 2012 at 11:52 AM, Babak Vahdat
wrote:
> Hi
>
> Yeah of course, like many other people around the world I was also one of
> the first readers of that "Kicks Ass" book back in December 2010 as I
> intended to setup my first App using Apache Camel with NO previous
> knowledege about i
Grzegorz,
A final words on stack traces and the how/why you see them
This requires a deeper and nuanced understanding of how/why Camel and routes
work the way they do. The route is not a single threaded "if then else"
statement which can simply throw an exception when it occurs and bail...
E
Hi
> Thanks all - this is essentially my issue, that there seem to be multiple
> different ways of achieving the same thing. I'm using the book as a base
> for all my learning, checking the website for any new stuff we get by
> using the later version of Camel. The original thinking with XA is it
I'm trying to write an integration test where some error condition happens, a
retry policy kicks in, and eventually the message ends up back on the queue.
I'm using the CamelSpringTestSupport to do this.
The thing I want to throw an exception is a bean, and as I understand you
can't swap these ou
Hi
Yeah of course, like many other people around the world I was also one of
the first readers of that "Kicks Ass" book back in December 2010 as I
intended to setup my first App using Apache Camel with NO previous
knowledege about it.
I'm deeply thankful to BOTH Claus & Jonathan who provided such
Hi
There was a bug i 2.8.1 regarding converting from text to bytemessage. This
might also be the case in 2.6.0. This should have been fixed, so if it is
possible for you, you should try and upgrade to the latest version to see if
it works here.
preben
--
View this message in context:
http://cam
Hi,
Actually, in this case I want aggregate the content of several files into
one file.
Lars
--
View this message in context:
http://camel.465427.n5.nabble.com/Zipping-the-content-of-several-files-into-one-file-tp5481638p5489043.html
Sent from the Camel - Users mailing list archive at Nabble.co
Thanks all - this is essentially my issue, that there seem to be multiple
different ways of achieving the same thing. I'm using the book as a base
for all my learning, checking the website for any new stuff we get by using
the later version of Camel. The original thinking with XA is it seems to be
Hi Claus,
Thanks for the tip, I added
osgi:org.milyn.smooks.osgi
in my camel context and now it works!
Regards,
Laurentiu Trica
On Thu, Feb 16, 2012 at 8:39 AM, Claus Ibsen wrote:
> Hi
>
> Just to be sure you have this class on the classpath?
> org.milyn.SmooksException
>
>
>
> On Wed,
On Wed, Feb 15, 2012 at 11:46 PM, Mikeycmccarthy
wrote:
> Hi all, two weeks into using camel in earnest and loving it already :)
>
> One point of confusion though...I have a very simple route, message off of a
> queue and into a database (using a DAO type bean though in preference to the
> JDBC co
Hi
About the stacks
The Camel routing engine is a sort of complicated engine, that
supports both synchronous and asynchronous non-blocking routing, and
mixed as well.
To ensure this works with all the EIPs, components, processors, beans,
etc in use, the routing engine, need to invoke the process
Hi
I haven't had the time and pleasure to read this conversation. But i
got a little time for a few comments.
About debugging Java Camel routes
The Java programming language does not offer lambda expressions (high
order functions) so you cannot build a DSL with function blocks for
predicates, in
38 matches
Mail list logo