Done.
https://issues.apache.org/jira/browse/CAMEL-6302
On Mon, Apr 22, 2013 at 11:18 AM, Claus Ibsen wrote:
> Hi
>
> Yeah udp should keep the data as byte[]. Fell free to log a JIRA and
> work on a patch.
> eg just change to use byte[] as that makes the most sense for UDP.
>
> On Mon, Apr 22,
I am trying to convert an CSV file to XML
route look like
BindyCsvDataFormat bindy = new
BindyCsvDataFormat(UspsTrackRecord.class.getPackage().getName());
from(fromLocation)
.unmarshal(bindy)
.marshal()
.xstream()
.to(localDir);
but i get error:
12:48:08,965 ERROR [org.a
Hi ,
I tried the splitter , like this :
public ArrayList> simule_split_Many_Output(
Exchange exchange) {
ArrayList> lstOflst = new
ArrayList>();
ArrayList lstOne = new ArrayList();
ArrayList lstTwo = new ArrayLis
Hi
Sometimes its easier to just use a camel bean / processor. And then
use the producer template to send the messages to other routes.
http://camel.apache.org/producertemplate.html
You can also dependency inject the destinations in the bean
http://camel.apache.org/pojo-producing.html
On Mon,
Another option is that if you know there is always only 2 elements in
the list, you can do use the wire tap
http://camel.apache.org/wire-tap
${body[0]}
${body[1]}
On Mon, Apr 22, 2013 at 4:37 PM, kikou1984 wrote:
> Hi,
>
> I got this bean:
>
> public ArrayList>
Used Receipient List to solve this issue.
http://camel.apache.org/recipient-list.html
Thanks for your reply.
--
View this message in context:
http://camel.465427.n5.nabble.com/xpath-value-as-a-parameter-to-an-endpoint-tp5731216p5731335.html
Sent from the Camel - Users mailing list archive at
Hi,
I have tried to create the consumer (createConsumerTemlate()) once at the
initialization of the enrich object
and keep it.
1. I tried with :
consumer.start()
consumer.receive(...)
consumer.stop()
The FtpConsumer() remains.
2. I trid without starting and stopping the consumer
// consumer.start
Hi !
I'm not sure to understand what you mean
brnzn1 wrote
> and send the response message to the replyTo queue without waiting for
> nonBlocking to complete.
If 'nonBlocking' is not over, how can you have it's response ?
Anyway I think you can do this :
from("activemq:queue1").setExchang
Try dropping the .getPackage().getName()
> BindyCsvDataFormat(UspsTrackRecord.class);
On Apr 23, 2013, at 12:30 AM, sandeep wrote:
> I am trying to convert an CSV file to XML
> route look like
>
> BindyCsvDataFormat bindy = new
> BindyCsvDataFormat(UspsTrackRecord.class.getPackage().getNa
I did tried that also. problem is the path is create to look up package get
wrong.
it is supose to be like
"C:\Tool\JBoss\jboss-eap-6.0\standalone\tmp\vfs\deploymente15f1c1683b39c76\."
but path the classLoader.getResources returns is something like
"C:\Tool\JBoss\jboss-eap-6.0\bin\content
Yesss it works with the wire tap. Thxs
from("direct:begin")
.bean(BeanSimu.class, "simule_split_Many_Output")
.wireTap("direct:routeA", simple("${body[0]}"))
.wireTap("direct:routeB", simple("${body[1]}"))
.to("mock:result");
Why methods(wire tap) are depr
Hi
Sounds like you need to use the jboss class resolver
http://camel.apache.org/camel-jboss.html
This may be needed to let bindy discover the model classes.
On Tue, Apr 23, 2013 at 1:44 PM, sandeep wrote:
> I did tried that also. problem is the path is create to look up package get
> wrong.
> i
I just upgraded from Camel 2.10.3 to 2.11.0 and I now cannot get my sftp
routes to work.
I used to specify the sftp endpont as follows:
sftp://myUser@myServer//subdir?password=myPassword&stepwise=false
This worked fine in Camel 2.10.3. Note that I had to use double "/" to get
it to work. Using C
You can add a processor
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception
{
exchange.getOut().setHeaders(exchange.getIn().getHeaders());
}
})
--
View thi
Hello All
I am trying to use splitter. I am using splitter first time. Following
is my route
Now as per Camel doc, splitMessage() will help me to split incoming message
and will return a collection of splitted messages. As parallel processing is
enabled, se
I got some sample but all in xml spring context.
But I am working in DSL no xml. Please let me know how to do that.
--
View this message in context:
http://camel.465427.n5.nabble.com/Bindy-tp5731324p5731364.html
Sent from the Camel - Users mailing list archive at Nabble.com.
sorry for reposting but previous post not getting accepted by mailing list
Hi Claus Ibsen,
classloder is decided by BindyCsvDataFormat class
public Object unmarshal(Exchange exchange, InputStream inputStream) throws
Exception {
BindyCsvFactory factory =
(BindyCsvFactory)getFactory(e
Hi Claus Ibsen,
classloder is decided by BindyCsvDataFormat class
public Object unmarshal(Exchange exchange, InputStream inputStream) throws
Exception {
BindyCsvFactory factory =
(BindyCsvFactory)getFactory(*exchange.getContext().getPackageScanClassResolver()*);
can you let me know how c
Hi,
I have two routes in camel context.
first route is for sync and second for async.
i want the response from first route only(from first.jsp)
http://0.0.0.0:8192/test/"/>
http://localhost:8080/app/jsp/first.jsp?bridgeEndpoint=true"/>
What happens if you specify the username as query parameter?
sftp://myServer/subdir?username=myUser&password=myPassword&stepwise=false
(I didn't upgrade, so I can't try it)
On Tue, Apr 23, 2013 at 8:33 AM, Bengt Rodehav wrote:
> I just upgraded from Camel 2.10.3 to 2.11.0 and I now cannot get
@Willem:
Hi,
I changed the route like you said. But this doesn't change anything
concerning the problem.
I created a Issue [1] and added everything needed to check the problem: the
Java class + wsdl to start the camel route & a SoapUI project for testing
it.
[1] https://issues.apache.org/jira/
Bengt Rodehav wrote
> sftp://myUser@myServer//subdir?password=myPassword&stepwise=false
>
> This worked fine in Camel 2.10.3. Note that I had to use double "/" to get
> it to work. Using Camel 2.11.0 I get the following error:
The first slash is treated as separator between the authority part of
I am using the jms:// component in a Spring DSL route in JBoss6. I
want to publish and subscribe to a topic. If I package my Camel in a
web app, it cannot do a JNDI lookup on "java:JmsXA", which is the JMS
connection factory managed by a resource adapter. If I package the
same code as just a pla
BTW: I'm using URIs like this successfully with 2.11:
sftp://192.168.1.2:22//home/user/
sftp://localhost//tmp/subdir/
Both being absolute paths. Login name and passwords appended along with
other options.
Regards, mdo.
--
View this message in context:
http://camel.465427.n5.nabble.com/Pro
Here is my complete test class :
http://pastie.org/private/19vmbn8hb3sdwxawy5qxg
My test consist of creating a quartz endpoint.
All my bundle are state 32 (Started)
Bundle 0 org.eclipse.osgi State is 32
Bundle 1 org.ops4j.pax.exam State is 32
Bundle 2 org.ops4j.pax.exam.inject State is 32
Bundl
I'm trying to make properties that are used in PropertyPlaceholders
configurable, so they can be updated and stored in a database, and then the
database property values will be checked first. It looks like Spring 3.1's
PropertySources might help with that. I just learned about those, but up
until n
Hi,
Have you considered using the camel-blueprint-testing support ?
This is what I use to test my Camel based OSGi bundle and that
gives me good results.
Best regards
Andreas
Andreas Gies
WoQ Way of Quality UG
http://www.wayofquality.de
Geschäftsführer & CTO
eMail: andr...@wayofquality.
Thanks for both your answers Chris and mdo,
I will try to move the username as you both suggest but according to the
documentation this should still be valid syntax.
What puzzles me is the "...Cannot change directory to: //" since it sounds
like Camel is actually trying to change directory despi
Hi Claus,I'm very eager to get that feature, too. My requirements for a new
project are:
run on every 1st of a month (or some other Quartz clause) and then select
all objects with status = 0
have a user interface for an administrator in which he/she can customize
some search arguments such as a tim
Hi, i developed a Route that calls a recipientList and then a XSLT
transformation. When I try the route without the recipient list (the URI of
the endpoint in the route) the route works. But when I call the recipient
list the route returns the error 18:35:32,486 | ERROR | qtp4206788-62|
Defaul
I'm trying to find how to set the header to a UUID before I split an XML
Message and send the results back to an Aggregator. This is erroring on the
lines below. I'm not sure how to use setHeader and pass in a value from a
Bean.
Also, should I be setting the Header on the main XML before it gets
Camel is shooting me an error on this one:
What I want this to do:
1) XML Message is sent to route.
2) XML MEssage sent to HL7V3GetDemo.
3) Results from #2 logged and sent to the direct:Aggregate
I do not want to use Multicast as I do not want the same message used in
both cases.
I have somet
If you look back at the entire thread:
http://camel.465427.n5.nabble.com/JPA-Component-Behavior-td5725781.html#a5731377
You can see that I solved this requirement by implementing a custom
PollingConsumerPollStrategy
called you use that plus configure the JPA consumer with "startScheduler=false"
Can anyone help me please
Thanks
Bhushan
--
View this message in context:
http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362p5731386.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Claus,
If such change is to be applied to MinaUdpProtocolCodecFactory, the
equivalent codec in camel-mina2, Mina2UdpProtocolCodecFactory should also
be patched so that it can reflect consistent default codec behavior.
Currently, the default udp codec in camel-mina2 also converts the byte into
S
Thanks lleclerc, will try and let you know.Thanks.Pradeep
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-headers-issue-tp5731295p5731366.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
We're looking at a project to retire some JCAPS/ECANN interfaces for a
client and replace them with Camel routes. Has anyone done this before and
has tips or traps to share?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/JCAPS-to-Camel-tp5731389.html
Sent from t
Your understanding is wrong.
Camel will split the messages (m1) into it's interdependent records (r1,
r2, ..., r1000) based on the splitter pattern. Each splitted message can be
processed in parallel by using the parallelProcessing option. For each
message, the endpoints/processors in the split rou
May be you can share a bit more about the interfaces? Is it HTTP based? May
be SOAP or REST?
Best,
Christian
On Wed, Apr 24, 2013 at 8:28 AM, Fitzcaraldo
wrote:
> Hi
> We're looking at a project to retire some JCAPS/ECANN interfaces for a
> client and replace them with Camel routes. Has anyone
The correct syntax is:
And whether you set the UUID before or after splitting depends on your
requirements. If you set it before, all splitted messages will have the
same UUID. If you set it afterwards, each message will have a unique
UUID... Make sense?
Best,
Christian
On Wed, Apr 24, 201
I've now checked this issue a bit further. It turned out that I hadn't
tested this on Camel 2.10.3. What I had tested was the corresponding
consumtion of files from the sftp server which also works with Camel
2.11.0. So this is probably not a Camel 2.11.0 issue. The following
consuming route works
41 matches
Mail list logo