Thanks for quick reply !
Sorry I missed to inform the version I'm using. It's 2.12.1.
And about "re-connect on each file".I will be having lots of files to
process every 15 mins. I think reconnecting every time may create an extra
overhead.
I'm thinking of re-processing those files at my next
See this EIP
http://camel.apache.org/composed-message-processor.html
with the _splitter only_ section, where you can put the aggregation
strategy on the splitter and do this fork/join pattern.
On Fri, Mar 10, 2017 at 3:32 AM, chanti wrote:
>
> Hi All, how to aggregate
Its hard to diagnose and find out the problem.
Maybe if you set disconnect=true to not reuse connections it would
force camel to re-connect on each file it writes, and maybe that
helps.
But upgrading to latest is always a good idea in such cases. As I
think you run on a very old Camel version.
Hi All, how to aggregate multiple unmarshalled objects , please check my
code.
DataFormat bindyForInsert = new BindyCsvDataFormat(User0001.class);
DataFormat bindyForDelete = new BindyCsvDataFormat(User0002.class);
DataFormat bindyForUpdate = new BindyCsvDataFormat(User0003.class);
I'm transferring some TXT files to a FTP location every 15 mins throught day.
It woks fine almost all times but sometimes I get
"org.apache.camel.component.file.GenericFileOperationFailedException: Error
writing file [Destination/directory/filename.txt]" and the file gets stuck
in processing
Hi
You could try to patch the code yourself and run with a camel-jpa JAR
with your code changes to see what you can get working for you, and
then come back here with the code changes for further discussion and
see what we can do for camel-jpa.
On Thu, Mar 9, 2017 at 7:42 PM, jamest
I am using camel-jpa to poll messages from a database. As recommended for
recovery on database failures, the persistence unit is configured with
Tomcat jdbc connection pool as the datasource and uses a test-on-borrow
strategy to validate connections.
The route still fails to recover if the
Hi
Had the same issue some time ago.
I think the resulting json should be an array in both cases since the xml
Value element is 0-n.
In your first example the resulting json will be a jsonobject, and it should
have been an array.
example 1 :
{
"Version": "2.0",
"ErrorCode":
SimpleRegistry registry = new SimpleRegistry();
registry.put("datasource",myDataSourceObj);
CamelContext context = new DefaultCamelContext(registry);
context.addRoutes(new myRouteBuilder());
from URI=
SimpleRegistry registry = new SimpleRegistry();
registry.put("datasource",myDataSourceObj);
CamelContext context = new DefaultCamelContext(registry);
context.addRoutes(new myRouteBuilder());
from URI=
I found the isssue now I am able to load routes and beans . but beans I
think i have t make as service to regsiter with Camel and access from other
route xml files.
Strange thing here is I thin k it is bug in Camel-
even though I am using blueprint XML dsl it looks for Spring in .
*Problem:*
Hello All,
I am using 'xmljson' to convert a simple XMl to JSON, but looks like its not
working properly, Below what I am doing
Xml Input:
2.0
0
OK
5957152
Hello kumar
Show me MANIFEST.MF of your bundle.
regards
Grzegorz
2017-03-09 11:24 GMT+01:00 kumar :
> Hi ,
>
> I am getting below issues with loading Camel-Routes.xml (which has
> with blueprint namespace).
>
>
> javax.xml.bind.UnmarshalException: unexpected
Hi ,
I am getting below issues with loading Camel-Routes.xml (which has
with blueprint namespace).
javax.xml.bind.UnmarshalException: unexpected element
(uri:"http://camel.apache.org/schema/blueprint;
local:"routes"). Expected elements are
<{http://camel.apache.org/schema/spring}aggregate>
14 matches
Mail list logo