Also can you post your package-info.java file? You need that when binding the
namespace (prefix). Especially note the @XmlNs annotation.
--
View this message in context:
http://camel.465427.n5.nabble.com/spring-ws-component-unmarshall-Jaxb-problem-when-Payload-namespace-prefix-in-attribute-value-
Hi,
Use the JAXB NamespacePrefixMapper to customize the prefux. See
http://camel.apache.org/jaxb.html and the following post on the mailing
list:
http://camel.465427.n5.nabble.com/camel-jaxb-namespace-prefix-td5685354.html.
Btw, why are you referring to XMLBeans in the last part of your post when
You may consider to use splitter[1] to pass the EntityTest object to
the jpa endpoint.
[1]http://camel.apache.org/splitter.html
On Wed May 16 07:31:03 2012, dmhatre wrote:
Hi Folks,
Below is the sample route. I am returning ArrayList from
processor (can say setting exchange body). Is it po
Hi,
I just did a quick test and find out the protocol handler is invoked in
the camel-cxf endpoint is working in the PAYLOAD dataformat.
Please double check your handler code to see why you cannot see any log
message.
On Tue May 15 12:57:27 2012, bhushand wrote:
I am using handler definitio
What do you recommend we use in its place (if anything)?
--
View this message in context:
http://camel.465427.n5.nabble.com/Graceful-shutdown-not-graceful-at-all-tp5709579p5710487.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You are using ThreadPoolTaskExecutor from spring and JmsComponent doesn't
manage the TaskExecutor life cycle itself.
If you want to shutdown the whole application gracefully, you need to call
the ApplicationContext destroy method.
--
View this message in context:
http://camel.465427.n5.nabble.
Can you double check your message to see if it has more than one 'header' ?
On Tue May 15 16:10:29 2012, Aleksawka Danilov wrote:
Hello.
I have a XML message what begin with header.
When I send this message to xslt endpoint, it raised exception:
javax.xml.transform.TransformerException: The proce
Hi Folks,
Below is the sample route. I am returning ArrayList from
processor (can say setting exchange body). Is it possible to insert the list
in database instead for inserting it one by one?
Kindly help me with this.
Thanks in advance.
Caused by:
And also be aware of
https://issues.apache.org/jira/browse/CAMEL-4196
Which is not fixed in Camel 2.6 you're using. So maybe check if you see any
log entries like:
"Scheduled Route Policy for route " + route.getId() + " is not set since the
no start, stop and/or suspend times are specified"
wh
We are on Camel 2.6 if that makes any difference. Can't upgrade due to WAS
6.1.
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Route-Policy-tp5710327p5710374.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Using one of the Camel's own unit-tests [1] I did modify the test as the
following to reproduce the behavior you've, however without success, as the
test does pass:
final SimpleScheduledRoutePolicy policy = new
SimpleScheduledRoutePolicy();
long startTime = System.currentTimeMillis
http://camel.465427.n5.nabble.com/Delay-route-start-td5686442.html Based on
this suggestion for delaying route startup , my config has set to false.
This is deployed as a web application and initializes after startup.
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Rout
Hi
How do you start your two Camel contexts? Can you show your complete Spring
XML?
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Route-Policy-tp5710327p5710330.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Tried setting up a SimpleScheduledRoutePolicy. However, it won't work on
multiple routes.
Only one route is started. I tried creating separate route policy beans (one
for each route), but the same issue occurs, only one route starts.
How to get around this?
--
View this message in context:
Thanks, Claus.
For some reason I saw your reply just now (and did not receive any e-mails
from nabble, which is strange).
Is there a way to attach unit of work synchronization code in Spring DSL ?
This would be real help!
--
View this message in context:
http://camel.465427.n5.nabble.com/Error
Hi
Yes there's indeed a Spring DSL way to do it as well called "", so
given that sample from the Camel documentation itself by the previous post
you would have something like:
...
...
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Splitting-XML-but-includin
Hi
The reason why you get "null" is simply just because of the "noop"
implementation of many methods by
"org.apache.camel.component.file.FileOperations" like the following:
public List listFiles() throws GenericFileOperationFailedException
{
// noop
return null;
}
pub
You can have a bean that is a factory for the dynamic bean. For the
parallel processing, you might want to take a look at the EIP, you
could find it useful ;-)
On Tue, May 15, 2012 at 9:11 AM, Christian Schneider
wrote:
> That depends what you mean by configure. You can not create the bean every
That depends what you mean by configure. You can not create the bean
every time and call the constructore with values from the message.
What you can do is call a method of the bean with e.g. header values
from the message.
See: http://camel.apache.org/bean-binding.html
Christian
Am 15.05.201
Hi
Looking at the stacktrace you've provided I suspect you did *not* name the
persistence unit as "qualitas-pu" inside your "persistence.xml". That's it
should be something like:
...
...
...
Can you maybe show your "persistence.xml". And wh
Thanks. Was hoping there was a Sping DSL way to do it, but I guess a POJO just
about as easy.
On May 14, 2012, at 10:06 PM, alexey-s wrote:
> Hey.
> Read Splitter https://camel.apache.org/splitter.html
> Section "Using a Pojo to do the splitting", a class MySplitterBean.
> Change the method si
I'm trying to use the ProcessStrategy functionality of Apache Camel but
it's not working for the moment.
Routing-class:
endpoint.setProcessStrategy(new MyGenericFileProcessStrategy());
MyGenericFileProcessStrategy-class:
class MyGenericFileProcessStrategy extends
GenericFileProcessStr
Christian Schneider wrote
>
> You can´t really dynamically create the bean using camel DSL. It will
> always be created at the time the route is added to camel.
> Of course you can have one "singleton" bean that then creates the other
> bean in java code.
>
>
>
@Christian - what I meant was
Willem.Jiang wrote
>
>
>
> How about the route like this
>
> from("direct:in").to("http://somewhere";).bean(mybean, "process").to("your
> endpoint")
>
> You can store the parameter into the exchange property, and it will be
> copied across the route.
>
>
Thanks for confirming this. Is it p
Hi All,
I had 1 persistence unit in my route and everything worked fine.
Yesterday I decided to add JPA tracer. For this tracer I defined a
dedicated persistence unit.
Basically this is not a problem to have many persistence unit (just to
be clear my data access layer is in a separate project). A
Willem.Jiang wrote
>
> The bean method should be thread safe, as the method will be called
> from different thread.
>
The getBean() method is not thread safe:
Just try it out:
You need 2 breakpoints in this method:
1. breakpoint at last if in line value = bean
2. breakpoint at line bean = v
Hello.
I have a XML message what begin with header .
When I send this message to xslt endpoint, it raised exception:
javax.xml.transform.TransformerException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
But when I send another XML message with this header to another X
You can´t really dynamically create the bean using camel DSL. It will
always be created at the time the route is added to camel.
Of course you can have one "singleton" bean that then creates the other
bean in java code.
Christian
Am 15.05.2012 06:02, schrieb soumya_sd:
I've a route that
1. i
28 matches
Mail list logo