Hi,
I am trying to acheive something like the following:
I have used wiretaps because nothing should stop the result of destination2
being return as quickly as possible (to replyTo).
However, I also need desintation 3 to:
- Only be started (asynchronously) when destination1 and destination2
Hi,
When using camel-smpp the destination addresses are set in a header called
"CamelSmppDestAddr" - which is a List.
When the response comes back the ids are set in a header called
"CamelSmppId" - which is also a List.
Are the elements of CamelSmppId guaranteed to be in the same order as
CamelS
To be honest, I don't understand why you want Camel to take care of the
transactions if all business logic is buried inside beans and the FTP
consumer is not transactional either. It seems like you don't need
transactions to be shared across beans either.
May I ask what behaviour exactly you are t
Hi
In camel-example-tracer it uses HSQL database at runtime when I do mvn
camel:run.
Now I want to bundle the same example as a WAR file. I was successful in
changing the directory structure, pom. Now the WAR builds fine.
But the database used in the example was a IN-MEMORY database. If want
On Thu, Oct 4, 2012 at 11:59 AM, Gnanaguru S
wrote:
>
> Hi
>
> In camel-example-tracer it uses HSQL database at runtime when I do mvn
> camel:run.
>
> Now I want to bundle the same example as a WAR file. I was successful in
> changing the directory structure, pom. Now the WAR builds fine.
>
> But
Thanks, Got it working with a Processor.
start() seems to be called twice. Is this expected?
Is it possible to use this for beans? It seems not?
e.g. if a route has this
.bean(new MyBean(), 'foo')
and MyBean implements Service then the start() method is not called. So
using a Processor is the on
Recipient list?
On Thu, Oct 4, 2012 at 2:22 AM, suralk wrote:
> Hi All,
> This is my use case:
> I have several camel contexts deployed independently. I use camel zookeeper
> component to dynamically assign unique ids to these contexts:
>
> static String routeId;
>
> from("direct:start")
> .to(Ex
Hello everyone,
I have downloaded *apache-servicemix-4.3.1-fuse-01-15* to my local computer.
I the deploy folder I have added one xml for hot deployment as shown below
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://camel.apache.o
Thanks Claus I understood. Do you have any idea whether Apache Derby
supports that ?
Such that I can configure Apache derby in persistance.xml and write the
trace messages to it.
It may reduce the effort.
Thanks,
Guru
@gnanagurus
--
View this message in context:
http://camel.465427.n5.na
Strange, will check this evening and will send you a direct email with my
findings.
Thanks for your collaboration ;)
Regards,
*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/i
Ok Claus let me try to show you what I´m trying to do:
http://camel.apache.org/schema/blueprint";>
Try it out or check the Derby documentation...
Sent from a mobile device
Am 04.10.2012 14:19 schrieb "Gnanaguru S" :
>
> Thanks Claus I understood. Do you have any idea whether Apache Derby
> supports that ?
>
> Such that I can configure Apache derby in persistance.xml and write the
> trace messa
Hello,
I like to do the move option dynamic (with component file)
for example:
from("file:c:/inbox?move=d:/outbox/${in.headers.directory}")
.setHeader("directory",constant("otherDirectory"))
.to("file:/d:/outbox/done/");
But it doesn't work :(
Hi
What version of Camel.
And what happens? Where is the file moved?
Is the file picked up? Or do you see any error / exception etc?
On Thu, Oct 4, 2012 at 5:32 PM, k1k wrote:
> Hello,
>
> I like to do the move option dynamic (with component file)
>
> for example:
>
> from("fi
I have created a custom bean that takes in some data as the body of a
message, and converts it to a java List. I am using the spring DSL for my
routes and don't know how I can convert the following to the spring version:
from("direct:body")
.split().method("mySplitterBean", "splitBody")
Hi
I am trying to unmarshal a CSV record into multiple model objects.
Example, I want pos 4, pos 5, pos 6 into one model object (Marks.java) and rest
of the position want to be on another model object (Student.java). I am
getting following errors. I've cut and paste necessary classes below.
Hi everybody,
I actually have a problem with a route using a producertemplate as a splitter to
send several exchanges. Unfortunately the ProducerTemplate seems to to be
interceptable by my written Interceptor. Does anybody know how I might
workaround this?
Thx
Benjamin
signature.asc
Descriptio
If you use SubmitMulti with multiple destination addresses, you will only
receive one smpp id back, because we only send one short message. You will
only receive multiple smpp id's if the short message was to long and we
have to split it.
Best,
Christian
On Thu, Oct 4, 2012 at 11:26 AM, JasonN wr
@Claus: Could this be related to the doTry()/doCatch() issue you are
investigating at present? Or is the exception, which is thrown in the
doCatch() clause, wrapped into another exception?
public void onAcceptDeliverSm(DeliverSm deliverSm) throws
ProcessRequestException {
LOG.debug("Re
You have to set the JMSReplyTo header if you want to specify a dedicated
destination [1]. The producer template has methods to specify additional
headers [2]. The camel context is the factory for the producer template. If
the Camel context is down, you cannot send/receive messages.
[1] http://came
Best,
Christian
On Thu, Oct 4, 2012 at 8:49 PM, Castyn wrote:
> I have created a custom bean that takes in some data as the body of a
> message, and converts it to a java List. I am using the spring DSL for my
> routes and don't know how I can co
Could you share your code or explain it in more detail?
Best,
Christian
On Thu, Oct 4, 2012 at 9:07 PM, Benjamin Graf wrote:
> Hi everybody,
>
> I actually have a problem with a route using a producertemplate as a
> splitter to
> send several exchanges. Unfortunately the ProducerTemplate seems
Interceptors live inside the Camel Context, and if the ProducerTemplate is
bound to the same context and the interception pattern matches, it will
also kick in for exchanges sent from the PT.
Maybe you can set a condition using .when() so that only Exchanges *not
carrying a specific header* (e.g.
An interesting use case...
1) Put your dynamically-configured route in a separate RouteBuilder that is
not picked up by the CamelContext package scan, i.e. put it in a separate
class that extends RouteBuilder (call it e.g. MyDynamicRoute) and override
the configure() method. Perhaps place it in a
recipient list does not work. It is the consumer (from("jms:" +)) that should be defined dynamically. And the queue name is
not fetched from a file. It is decided by the output of another route.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-dynamically-set-the-jms-qu
Hi Raul,
Thank you very much. It worked!
Here's my code, if somebody gets the same question in the future:
the custom RouteBuilder class:
public class MyRouteBuilder extends RouteBuilder {
String routeId;
public MyRouteBuilder(String routeId)
{
thi
Camel uses the java.io.File API for storing files.
So make sure that from a Java perspective that the Z: file path works.
You can create a small java app an try to see if you can get it
working with java.io.File
File path = new File("z:");
path.listFiles();
And see if that works.
On Thu, Oct
27 matches
Mail list logo