Hi Willem,
is there an example of how to "define the Endpoint in the pure Java way,"?
Didn't find one.
regards
Christian Schäfer
Willem.Jiang [via Camel] schrieb am
2:34 Montag, 18.November 2013:
Hi,
I’m not a not a big fan of this type safe endpoint configuration.
As the endpoint
My Integration application is divided into two camel contexts. I am using NMR
to have integration between these two camel contexts. The flow is as follows
and I am using *INOnly* Message Exchange Pattern
1 CamelContext1-Route -> NMR -> CamelContext2-Route
2 CamelContext2-Route set some *new header
Thank you so much :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Composed-Message-Processor-tp5743165p5743410.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi, I've splitted my camel context with using routecontext. Everything is
okay except for my unit tests doesn't work after this operation.
I'm using annonation based testing.
What can be problem?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-and-Testing-tp5743411.html
Hi
No there is no xml example. But its fairly easy to do as well. Java
and XML is very the same.
So for in XML just do
... insert stuff here
On Sat, Nov 16, 2013 at 6:24 PM, piyushbhatt wrote:
> Hi Claus,
>
> Is it available as part of XML configuration ? If yes can you point me
Thank you for clarification. I was lost and relative path in
element made me think to much ;p
You are perfectly right in destination the whole url works like a charm.
Sorry for such a silly question.
--
View this message in context:
http://camel.465427.n5.nabble.com/Simple-way-of-calling-WS-u
HI Neeraj,
What header you are setting in you camel message? Header value must be a
Serializable object.
Cheers,
Brad
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-headers-getting-lost-while-using-NMR-tp5743356p5743416.html
Sent from the Camel - Users mailing li
Hi
You need to provide more details, to get better help.
You can take a look at this page which have some bullets what you can do
http://camel.apache.org/support
On Mon, Nov 18, 2013 at 9:24 AM, bilalalp wrote:
> Hi, I've splitted my camel context with using routecontext. Everything is
> okay e
Hello,
I've to setup a webservice client for an existing WSDL. Client requests have
to get signed (WSHandlerConstants.ACTION -> WSHandlerConstants.SIGNATURE).
Thing is there are a multitude of external webservice endpoints the requests
need to get send to. And I have to use a couple of different
Hi
repeatCount is for the simple trigger, not for cron.
So if you want something to only trigger one time, then remove the cron
On Fri, Nov 15, 2013 at 6:05 PM, ishwar wrote:
> hi. after setting repeatcount=1 then also my scheduler is continuously
> running.. i dont know where i made mistake.
>
Hi
I dont think its a good idea to create a 2nd component. Instead
improve/fix make the the existing component better.
We love contributions
http://camel.apache.org/contributing.html
On Fri, Nov 15, 2013 at 7:49 PM, Christian Posta
wrote:
> not sure what the rest of the community thinks... bu
Hi
No you cannot do this.
You can though have routes in seperate xml files and use
http://camel.apache.org/configuring-camel.html
Though doesn't allow to use and the likes
from
On Fri, Nov 15, 2013 at 10:03 PM, dunnlow wrote:
> I am using Spring 3.1 with Camel 10.1.
>
> I am working to su
If you use the Camel splitter, then you can run in streaming mode
On Fri, Nov 15, 2013 at 9:54 PM, javamonkey79 wrote:
> We're running camel 2.11 and AMQ 5.8 on glassfish & red hat OS.
>
> We have a route which reads in somewhat large files (20 mb) and has to split
> them up. The current route r
If you use spring, then all the is spring's property
placeholder that handles that.
And spring uses ${ } syntax.
So change
To use ${ }
All inside is Camel. And uses {{ }} syntax.
See also
http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html
On Sat
I would like to set the body to null using xml and would like do
something as simple as
${null}
I experimented with this idea and added this null-expression to the
simple expression builder so that this expression works.
But I was not sure if there is already another way to do this without
introd
I found out the problem which was making my test not reach the onComplete
syncProcessor but I am having another issue now. Inside the processor I use
producer.sendBody(buildDurableSubscription(register), holder);, where
producer is created in the context.xml with
and
return consumer.receiveBodyNoW
receiveNoWait does not guarantee a message will be received.
You would need to use the one with a timeout value, to have client
poll server for new messages.
On Mon, Nov 18, 2013 at 12:23 PM, cristisor wrote:
> I found out the problem which was making my test not reach the onComplete
> syncProce
What is the use-case for setting the body as null ?
On Mon, Nov 18, 2013 at 11:59 AM, Aki Yoshida wrote:
> I would like to set the body to null using xml and would like do
> something as simple as
> ${null}
>
> I experimented with this idea and added this null-expression to the
> simple expressio
Thank you for pointing that out for me, now the test is working. Still, I
find it weird that the consumer is not retrieving anything even though
JConsole shows that the QueueSize > 0.
--
View this message in context:
http://camel.465427.n5.nabble.com/onCompletion-not-triggerd-in-testing-tp57431
One use case is for a request-response scenario using a jaxws provider
(at camel-cosnumer) and when you want to return a null to this
endpoint so that it can return an HTTP 202 response to the caller
instead of returning some xml data which was in the body (i.e., using
the rule described in jaws sp
Hi
Yeah we could add that ${null} function to the simple language.
Then we dont introduce a new DSL which likely is overkill for a not so
often use-case.
On Mon, Nov 18, 2013 at 2:35 PM, Aki Yoshida wrote:
> One use case is for a request-response scenario using a jaxws provider
> (at camel-cos
hi claus,
thanks.
regards, aki
2013/11/18 Claus Ibsen :
> Hi
>
> Yeah we could add that ${null} function to the simple language.
> Then we dont introduce a new DSL which likely is overkill for a not so
> often use-case.
>
>
>
> On Mon, Nov 18, 2013 at 2:35 PM, Aki Yoshida wrote:
>> One use case i
Hi there
I've created a simple route in blueprint from cxf endpoint to another cxf
endpoint. When I deploy this in Karaf the bundle stays in "GracePeriod" and the
following exception is logged:
2013-11-18 16:06:36,556 | INFO | Thread-842 | BlueprintContainerImpl
| container.Bl
Claus,
Bummer, ok thank you. Also, thank you for the comment about lack of
onexception handling. That is an important limitation (for me) that I
didn't catch in the documentation. I'd like to recommend adding it (and any
other limitations on routeContext) - perhaps here:
http://camel.apache.or
finally figured it out.
first, because a ChoiceDefinition will compile just fine, but throw an
exception at runtime, set the "from" to a local RouteDefinition variable -
this way, the editor/compiler will complain.
(note: the cast is needed because when you use ".end()" or ".filter()" it
return
Hi,
I have a memory issue with the splitter.
I have a big table with millions of records in a sql server database 2008.
What I'm trying to do is :
select * from
myBigTable
Hi
I am not sure but maybe the fetchXXX options is only hints to the JDBC
driver. As it may return the full data instead.
So if you have millions of rows in the database table you get them all.
You may write some SQL that is SQL server specific to tell it to only
return first X rows.
Each RDBMS
Continue to discover and try new things. I've also determined that my unit
test works when the "proxy" and "export" beans are in different Spring
applicationContext(s).
So, still not sure why my real-world test fails (when the "proxy" and
"export" beans are in different web applications).
--
V
Thank you for your help Claus!
Apache camel is a wonderful framework.
Best Wishest!
Cyrille Eloundou
Barclays-Global Technology
Java Solution architect
work:201 499 2921
cell: 646 522 1567
cell private: 347 978 5022
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Se
Hi,
Thanks a lot. it worked. Can I apply "Content Based Routing" rules if I use
jetty for proxy ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Exposing-a-Remote-Web-Service-written-in-Axis2-tp5743186p5743454.html
Sent from the Camel - Users mailing list archive at Nabble.
Any pointers on this issue
Piyush
--
View this message in context:
http://camel.465427.n5.nabble.com/Help-with-properites-resolution-tp5743374p5743452.html
Sent from the Camel - Users mailing list archive at Nabble.com.
We use spring DSL for our camel route definitions. I just integrated hawtio
with our dev environment and it is awesome..
As part part of our route definition, we added "id" attribute to each of our
node to give a meaningful business name.
However, in the layout diagram, for each node (to's) it s
Perhaps you should send this email to their mailing list:
http://hawt.io/community/index.html
On Mon, Nov 18, 2013 at 2:22 PM, arparikh21 wrote:
> We use spring DSL for our camel route definitions. I just integrated hawtio
> with our dev environment and it is awesome..
>
> As part part of our r
We use spring DSL for our camel route definitions. I just integrated hawtio
with our dev environment and it is awesome..
As part part of our route definition, we added "id" attribute to each of our
node to give a meaningful business name.
However, in the layout diagram, for each node (to's) it s
Hi
You can reach out to the hawtio community at
http://hawt.io/community/index.html
The hawtio project loves the github way of communicating.
And I think your suggest of being able to see the id in the Camel
diagram is a good idea. Maybe allow people to configure this what they
prefer to see. t
On Mon, Nov 18, 2013 at 4:31 PM, dunnlow wrote:
> Claus,
>
> Bummer, ok thank you. Also, thank you for the comment about lack of
> onexception handling. That is an important limitation (for me) that I
> didn't catch in the documentation. I'd like to recommend adding it (and any
> other limitati
Willem and Claus
Thanks so much for your help.
I am updating the post with working code.
Kind regards,
Joao
db.properties
datasource.stg.url=jdbc:oracle:thin:...
camel-context.xml
...
My proposed guess wasn't meant/thought as a replacement for the the string
URI configuration of camel.
I just thought that it could be a helpful addon especially for Java DSL
users.
Sure, the endpoint "templates" would require implementation for each
endpoint type because they are different in so
Hi,
I need to split up a XML into 2 XMLs..
Example:parent.xml
..
..
it needs to split up to 2 xmls like below
child1.xml
...
child2.xml
..
Please help me on this and am new to camel...i tried to understand other
posts in the forum ,but am confused
Thanks in advance!!!
--
Hi,
It not like one split operation, it is more like transformation first, and then
splitting the xml base on the
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com (htt
Hi all,
I have written a route that executes a JPA named query and then marshall's
the object into csv...
private void configureCsvExportRoute () throws Exception {
from(END_POINT_JPA_ITEM_EXPORT)
.marshal()
.csv()
.to(END_POINT_FILE_ITEM_EXPORT);
41 matches
Mail list logo