Hi all,
I am currently working on a Camel project inside Fuse ESB but also saw this
problem inside the latest Servicemix release.
When using an OSGi service as processor inside a route and I try to
uninstall the project the route that uses the processor gets not shut down
because it calls the toS
Hi
Using a spring or blueprint xml file to bootstrap Camel is often much
easier, as it does all the OSGi lifecycle and other pieces you
otherwise must do yourself.
If you dont want to do that, then you need to use an osgi activator to
call some code, that creates a OsgiCamelContext and setup a bu
Try excluding those old spring jars in the restlet-spring dependency
and make sure to run with only the newer and same spring version.
On Thu, Jan 16, 2014 at 11:23 PM, kraythe . wrote:
> Greetings,
>
> I wanted to create a little rest let demo but when I tried to run it I got
> an odd spring exc
Hi all,
I am trying to run camel application in karaf. I new to programming for
osgi. How can I make my camel routes run in it? Can i put it in a normal
main() class and run it?
--
BR
Muhsin
Greetings,
I wanted to create a little rest let demo but when I tried to run it I got
an odd spring exception. It seems that rest let depends on older spring
jars than Camel does and this causes confusion. Anyone have an idea how to
work around this?
The exception and the maven dependency tree ar
Hi,
If I understand correctly, it looks like sjms is not to read multiple messages
but read a single BatchMessage which is an ArrayList of messages.
Do we have any solution to consume multiple (chunk) JMS messages in a single
transaction?
Regards
RK
-Original Message-
From: bengt.rod
I ran it again with 2GB and hit compile exception at same point:
set MAVEN_OPTS=-Xms528m -Xmx2024m
Failure:
[INFO]
[INFO] Building Camel :: Web 2.13-SNAPSHOT
[INFO]
--
Hi,
I just tried to build the Camel trunk, but the compiler continues to ran out
of
memory. Note that I have modified Maven options to 1GB of memory:
d:\source\camel>set MAVEN_OPTS=-Xms128m -Xmx1024m
d:\source\camel>mvn clean install -Pfastinstall
Does Maven need more memory? The private worki
Hi,
I have identified two possible issues with the decryption using PGPFormat
or with the way I have been using it.
*Issue 1:*
PGPFormat unmarshalling seems to not work when the body is of type
*org.apache.camel.component.file.GenericFile* which is what the camel-file
producer is providing. The
The Apache Camel project [1] is a powerful open source integration framework
based on known Enterprise Integration Patterns [2].
The Camel community announces the immediate availability of the new patch
release camel-2.11.3.
The artifacts are published and ready for you to download [3] either
Thanks for suggestion, I have placed a JSON validator in place for now.
Please let me know when this fix will be available.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-MongoDB-Bug-related-to-Type-Conversion-tp5746090p5746095.html
Sent from the Camel - Users mailing
Nevermind, I figured this out. I didn't have enough sessions in the pool. I
increased the maximumActiveSessionsPerConnection property and it is now working
properly.
I have a camel route consuming from an ActiveMQ queue, using 8 concurrent
consumers,
Hello,
Yes, as far as I remember the Type Converter Registry memorises what
converters were successful in converting from a given source to a
destination type, with the goal of speeding up the resolution of future
type conversion attempts. Probably this converter is getting blacklisted
due to the
The servlet has a name parameter.
But if id had not have a name, would that have made any difference?
/Lasse
--
View this message in context:
http://camel.465427.n5.nabble.com/Web-filter-and-camel-servlet-tp5746054p5746093.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi All,
I have come across an issue in Camel's mongo component. Problem is if you
try some operation through camel mongo and give incorrect json (i.e. wrong
format extra comma or something) it throws
NoTypeConversionAvailableException or so. If you try again but with correct
json, exception will b
It works when I config an interceptor and set a header value in
"onException-handler":
interceptFrom()
.when(header("somethingFailed").isEqualTo(Boolean.TRUE))
.process(new Processor() {
@Override
public void proce
I've been reading over all of the test documentation and Mock documentation.
It seems that I should be able to just setup a mock endpoint for the URI of
the processor and use the producer template to send the information to the
endpoint and run the asserts on that endpoint. Is that a proper usage
Many Thanks,
This is exactly What I was looking for ...
Regards,
Stéphane.
--
View this message in context:
http://camel.465427.n5.nabble.com/Breadcrumid-not-unique-tp5746052p5746087.html
Sent from the Camel - Users mailing list archive at Nabble.com.
just inside of the onexception block, you do not need any intercept in your
case :
@Override public void configure() throws Exception {
onException(Exception.class)
.maximumRedeliveries(10)
.redeliveryDelay(2500)
.handled(true)
.to("direct:RO
I have a specialized decoder that I am trying to figure out how best to
unit test. I looked through the netty unit tests in the camel source code
but nothing seems to do what I'm looking to do.
Any thoughts?
you got it from here: http://camel.apache.org/intercept.html i guess?
i have no idea how to use this:
interceptSendToEndpoint("mock:foo").skipSendToOriginalEndpoint()
.transform(constant("Bye World")).to("mock:detour");
inside a onException part or how to trigger the interceptSendToEndpoint.
Hi.
I am new to camel and I'm trying to set up a POJO producer for an activemq
component, following the instructions here:
http://camel.apache.org/pojo-producing.html
I'm using camel via servicemix 4.5.3 (camel 2.10.7) and am using the
embedded activemq broker (ActiveMQ 5.7.0).
I have an interf
Hi,
On 16/01/14 14:47, helander wrote:
Hi Sergey,
I am not sure what you mean by side-effects,
I thought for a moment it was to do with the security filters having no
effects
but this is what I see (or
really: NOT see) :
I have a web application (WAR) that have a Web Filter and a Camel Servl
Hi Sergey,
I am not sure what you mean by side-effects, but this is what I see (or
really: NOT see) :
I have a web application (WAR) that have a Web Filter and a Camel Servlet.
This filter is used throughout a number of applications and is configured to
be activated by all requests ("/*") to the
Hi All,
i'm stuck with one issue in which i want to stop camel logs which is
generating on his own. Even i had changed the debug level in log4j.xml from
"debug" to "info". The logs which are coming are somekind of weird.
for e.g
My route look like this
After modifying log4j.xml al
On Thu, Jan 16, 2014 at 10:57 AM, gilboy wrote:
> Hi
>
> I have a route to consume a message from a JMS Topic, do some processing on
> it and then place on a SEDA Queue.
>
> My second route will consume the message from the SEDA queue and place on a
> different JMS Topic.
>
> I want to ensure that
Hi
On 16/01/14 12:58, helander wrote:
It seems like camel-servlet "bypasses" web filters in my container. Is this
correct? Anything that could be done to have the requests to the
camel-servlet pass a web filter prior to hitting the camel-servlet?
What side-effects do you observe in your case ?
Hi
See
http://camel.apache.org/uuidgenerator.html
On Thu, Jan 16, 2014 at 1:48 PM, baudoust wrote:
> Hello,
>
> I am running Camel 2.11 under websphere 7 on solaris and it looks like
> several incoming message are getting the same breadcrumId, is there any
> known bug around this ? all message a
In the route you can just name the processors / eips etc you want to
have a special name using .id
from x
to y .id("someNameHereForY")
to z
On Thu, Jan 16, 2014 at 1:04 PM, duncanto wrote:
> Is there a way to configure the JMX ProcessorId for some of our processes to
> enable our support tea
Is there a way to configure the JMX ProcessorId for some of our processes to
enable our support team to easily monitor specific route processors.
The default Proccessor Definition naming results in naming them process1 ...
processN from the DefaultNodeIdFactory
The solution was to plug in a custo
It seems like camel-servlet "bypasses" web filters in my container. Is this
correct? Anything that could be done to have the requests to the
camel-servlet pass a web filter prior to hitting the camel-servlet?
/Lasse
--
View this message in context:
http://camel.465427.n5.nabble.com/Web-filter
Hi,
something like
.skipSendToOriginalEndpoint()
.to("direct:ROUTE_3")
inside the onException should do the job or am I wrong ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Reroute-from-onException-Handler-Processor-tp5746043p5746053.html
Sent from t
Hello,
I am running Camel 2.11 under websphere 7 on solaris and it looks like
several incoming message are getting the same breadcrumId, is there any
known bug around this ? all message are coming in trough different Mqseries
JMS queues, so endpoints are differents, same breadcrum is even shared
b
siano wrote
> Hi,
>
> This looks like https://issues.apache.org/jira/browse/CAMEL-7087 . It is
> supposed to be fixed in Camel 2.12.3 that should be released very soon.
>
> Best regards
> Stephan
It seems exactly my problem! I wait for the new release!
Thanks
Zulio
--
View this message in
Hi,
This looks like https://issues.apache.org/jira/browse/CAMEL-7087 . It is
supposed to be fixed in Camel 2.12.3 that should be released very soon.
Best regards
Stephan
-Original Message-
From: Zulio84 [mailto:giulianopint...@hotmail.com]
Sent: Donnerstag, 16. Januar 2014 11:11
To: us
Dear All,
I would like to know if there is a possibility to reroute from
onException-Handler Processor ?
from("direct:ROUTE_1")
// Exception handling
.onException(Throwable.class)
.continued(true)
.process(new Processor() {
AFAIK this is not supported, because transactions are threadbound and the
SEDA stuff will run of another thread than the one that started the
transaction, and hence not able to participate in it.
2014/1/16 gilboy
> Hi
>
> I have a route to consume a message from a JMS Topic, do some processing
Claus Ibsen-2 wrote
> Try a SNAPSHOT as we fixed something related to that.
Where can I find the configuration mvn to use the snapshot, there is' some
reference to the site http://camel.apache.org ?
Claus Ibsen-2 wrote
> You can also load the content into memory using
> .convertBodyTo(byte[].cla
Hi
I have a route to consume a message from a JMS Topic, do some processing on
it and then place on a SEDA Queue.
My second route will consume the message from the SEDA queue and place on a
different JMS Topic.
I want to ensure that the message only gets de-queued from the first Topic
which it
Hi Williem
Thanks brother for the advice. My package name was different from that of
the Class which was in the application which en-queued the object.
I fixed it by keeping same package name
Regards
Reji
--
View this message in context:
http://camel.465427.n5.nabble.com/Moving-Objects-betwe
Hi Claus
Thanks a lot! I had the exact copy of annotated class at both server and
client end. But sadly I didn't notice that package name was different.
Once was com.example.Student and other was com.queueshifter.Student
After renaming the package with the same name as the other, it worked like
Hi,
II am trying to decrypt a pgp file using the Camel PGP format. The route
reads a PGP encrypted file from a folder and send it for decryption as shown
below.
*from('file:/home/user/Outbound?charset=utf-8&move=.processed&moveFailed=.failedProcessing&include=.*.xml.gpg&delete=false').to('direct
Hi,
Thanks for the advice Claus Ibsen. It was very helpful.
On Thu, Jan 16, 2014 at 1:20 PM, Claus Ibsen wrote:
> On Thu, Jan 16, 2014 at 6:15 AM, Muhzin wrote:
> > Hi,
> > I am new to camel
> > can anyone please explain the difference between the the main class
> > provided in camel to make
Its IMHO better to not use Java Objects with JMS. Otherwise you need
to make sure the same classes are on the classpath on both the clients
and servers, and that they are compatible.
Instead you can tell Camel to use javax.jms.TextMessage as your POJO
is a JAXB annotated that can be marshalled int
44 matches
Mail list logo