Hi,
I know that JSONPath component will be available as of camel 2.13. Is there
a way to perform CBR for JSON payload in other versions of Apache Camel?
--
View this message in context:
http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495.html
Sent from the Camel -
Probably it is not an optimal approach in terms of performances (how many
transformations per second do you expect to perform?), but you can use
xmljson (http://camel.apache.org/xmljson.html) data format to Unmarshal
json to xml and use XSLT to transform, then Marshal back to Json.
Check the
Does camel support ISO8583,ISO20022,EBCDIC dataformats?
--
View this message in context:
http://camel.465427.n5.nabble.com/ISO8583-tp5744502.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Here is my use case:
I need to split a CSV file which contains orders. Parsing rules of this CSV
are very simple:
- Each order has several lines (no fix number)
- Each order begins with one line (initiator):
111;222;dynamic content
- Each order ends with two lines (terminator)
No its not possible.
On Mon, Dec 9, 2013 at 11:47 AM, harikrish07121991
harikrish07121...@gmail.com wrote:
Hai everyone , i am using Dynamic Routing with help of slip function to
dynamically create routes . with reference to this link :
http://camel.apache.org/dynamic-router.html
I want to
Camel can support any binary format you want. It doesn't have
built-in support for these, though.
On Mon, Dec 9, 2013 at 5:12 AM, Manoranjitham G
manoranjitha...@polarisft.com wrote:
Does camel support ISO8583,ISO20022,EBCDIC dataformats?
--
View this message in context:
Perhaps you can deserialize the object(s) first before doing CBR
(using a simple expression)? Or, do you have to detect what type they
are first and then route to the appropriate deserializer?
On Mon, Dec 9, 2013 at 3:15 AM, madusanka
madusankabalasoor...@gmail.com wrote:
Hi,
I know that
I have to detect what type they are first and then route to the appropriate
service provider. I was wondering if JSONPath is supported in early versions
of Camel ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495p5744508.html
Sent
Well actually it depends on what you are trying to do with the data, where it
comes from and what your JDK supports. If you are just transmitting binary data
to somewhere else, the charset doesn't matter. If you e.g. need to convert
binary data fetched e.g. from a file to something textual
Easiest way is to deserialize with Jackson2 into a JSON Tree and then
navigate the tree to get the info. Means you dont need a pojo or mapping
but can still fetch the data without resortign to string parsing. I dont
know how mature JSONPathc is anyway. We will see if it holds any benefit
over
And not desireable either. Let the endpoints do the change for you, not the
slip itself.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
Probably best to write a custom data format to handle this. Parse the whole
file into a list records, where each record starts with the data in the
initiator and contains all data up to the next initiator. Writing data
formats is not that tough.
*Robert Simmons Jr. MSc. - Lead Java Architect @
Hi all,
I have a file which has the following content (fixed length record):
Main Header record (starts with HR)
Sub Header record (starts with SH)
Data record (starts with DR)
Sub Header record (starts with SH)
Data record (starts with DR)
Sub Header record (starts with SH)
Data record (starts
Hello,
I am using the org.apache.camel.Consume annotation to consume messages in
Java from an ActiveMQ queue. I can configure the concurrentConsumers via
the URI parameter in the annotation:
@Consume(uri=activemq:queue:MyQueueName?concurrentConsumers=5)
How can I externalize the
Hi
You ought to be able to use Camel's property placeholder
http://camel.apache.org/using-propertyplaceholder.html
On Mon, Dec 9, 2013 at 6:02 PM, Robert Dare robert.d...@gmail.com wrote:
Hello,
I am using the org.apache.camel.Consume annotation to consume messages in
Java from an ActiveMQ
Hi,
I created a dual drop for IBMMQ Q's, getting a msg from one Q and dropping
into two Q's. I am getting timeout exception with the below configuration,
can someone let me know where is it wrong ?
*Spring DSL*
bean id=ibmmq.q class=org.apache.camel.component.jms.JmsComponent
Hi guys,
Perhaps you can deserialize the object(s) first before doing CBR
(using a simple expression)?
This is very good suggestion, James. To make it a little more concrete:
from(...).
unmarshal().json(JsonLibrary.Gson, Map.class).
choice().
Hi everyone,
I create a simple camel application that move file from folder input to
another folder output.
I integrate apache camel with spring mvc and deploy the application into
tomcat server.
Here are the simple route :
route id=cashFlowStageDataRouter
All,
I am trying to implement a simple route endpoint that will result in message
stats logged every 10s, with an initial 60s delay and stats should be
displayed even if there isn't any message traffic.
--I followed this convention:--
http://camel.apache.org/log.html
--I put together this
I figured this out, had to set the level to INFO.
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-log-tp5744520p5744521.html
Sent from the Camel - Users mailing list archive at Nabble.com.
are you seeing any exceptions in the log? related to permissions or something?
additionally... maybe try a test with a absolute directory location
instead of the relative location you're using...
On Mon, Dec 9, 2013 at 2:46 PM, heriyanto heriy...@gmail.com wrote:
Hi everyone,
I create a simple
If you're set on JsonPath, you can do so in a POJO or processor as
it's just a library:
http://code.google.com/p/json-path/
On Mon, Dec 9, 2013 at 1:57 PM, Henryk Konsek hekon...@gmail.com wrote:
Hi guys,
Perhaps you can deserialize the object(s) first before doing CBR
(using a simple
whatGoesHere would be the logger name, as in org.apache.camel.processor
Glad you figured out what you had issues with.
On Mon, Dec 9, 2013 at 3:28 PM, MichaelAtSAG mebevilac...@gmail.com wrote:
I figured this out, had to set the level to INFO.
Thanks!
--
View this message in context:
If you think it can be solved w/ a regex, you can use the simple
expression language which supports regex
http://camel.apache.org/simple.html
On Mon, Dec 9, 2013 at 2:38 AM, megachucky megachu...@googlemail.com wrote:
Here is my use case:
I need to split a CSV file which contains orders.
He would need to use a Predicate for CBR. Either way, it'd be easy to
do, as you pointed out, since it's just a library. :)
Or, if the destination can be calculated based on something in your
JSON (using an expression), you could do something like this:
Hi,
Thank you for the quick replies.
Yes when i change the relative path become absolute path directory, my camel
application work successfully, then i just have to correct where the
relative path.
Thank you for your help.
Heriy
--
View this message in context:
Hi,
I have a requirement to FTP a file to a directory but the details of the
FTP route to be picked from a JMS message.
So to implement the route I have used a processor which reads the message
received from JMS component and then uses PollingConsumer Template to fetch
the file from FTP location
Hi,
I am trying to ftp a particular file from a directory to a ftp location, so
I followed the examples provided in camel 2.12.1, which polls for any file
in the target directory specified, and whenever it finds the file it uploads
in the ftp location mentioned in the properties file.
How ever
28 matches
Mail list logo