The problem is not related to Camel. Can you make a JMS test to verify that
you can connect to your ActiveMQ broker or using ant (
http://activemq.apache.org/examples.html). This is why you get this error
messages from Camel/spring : Cause: Could not connect to broker URL:
tcp://localhost:61616. Re
Can you create a gist link with the full stack trace please ? Otherwise we
cannot help you
On Wed, Jan 29, 2014 at 8:21 AM, Rural Hunter wrote:
> I didn't keep the log but it's a normal NoClassDefFoundError with clear
> stack trace. It indicated the line in my processor which caused the error.
Hi,
My route is quite simple:
from(REQUEST_QUEUE).process(processor1).process(processor2).process(processor3).to(COMPLETE_QUEUE)
REQUEST_QUEUE and COMPLETE_QUEUE are both activemq queues. It runs fine
normaly. But when I restart activmq, I found my Camel application just
exited with this log:
I didn't keep the log but it's a normal NoClassDefFoundError with clear
stack trace. It indicated the line in my processor which caused the
error. The route is quite simple like this:
from(REQUEST_QUEUE).process(processor1).process(processor2).process(processor3).to(COMPLETE_QUEUE)
The error occ
Hi
And what does the stacktrace looks like when you use try .. catch?
And what does your route look like?
On Wed, Jan 29, 2014 at 3:50 AM, Rural Hunter wrote:
> Hi,
>
> I use camel 2.12.2 and created a processor. When I deploy the application I
> got vague error messages in log like this:
> Stac
Hi
It worked with List , but failed with Array.
ArrayList pls = new ArrayList();
for (String s : names) {
Person p = new Person();
p.setName(s);
pls.add(p);
}
ArrayList wrapperList = new ArrayList();
Hi,
I use camel 2.12.2 and created a processor. When I deploy the
application I got vague error messages in log like this:
Stacktrace
---
org.apache.camel.CamelExe
Hi,
You can find more information about the change in this JIRA[1]
[1]https://issues.apache.org/jira/browse/CAMEL-6000
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com(http://jnn.jav
Hello,
Over the last 15 months, we have been successfully operating one of our
platforms using Camel 2.9.1/2.10.1. Recently, we have upgraded each of our
processes to use Camel 2.12.2, and in the main, this has been a very
straightforward process.
Unfortunately, we have observed some unexpected
Which version do you use?
Best,
Christian
-
Software Integration Specialist
Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member
https://www.linkedin.com/pub/christian-mueller/11/551/642
On Tue, Jan 28, 2014 at 8:11 PM,
Hi folks,
With 3 days left in the CFP for ApacheCon 2014, we have no papers submitted
related to Apache Camel. I know that we usually get some of the submissions
in the last 48 hours, but however...
Abstracts don't need to be great works of literature - you can brush them
up afterwards if you nee
I commented out the logging and enabled streamCaching. Still no luck:
java.io.IOException: javax.mail.MessagingException: No MimeBodyPart content
--
View this message in context:
http://camel.465427.n5.nabble.com/POP3-SMTP-exception-when-attachments-are-used-tp5746508p5746570.html
Sent from th
Claus,
>From the following link: "The type converter accepts the Exchange as an
optional 2nd parameter. This is usable if the type converter for instance
needs information from the current exchange."
http://camel.apache.org/type-converter.html
Based on that information, I think that I should be a
We are trying to route a file over 2 MB in size. Our route has moveFailed
defined. When the file is processed successfully - everything is fine and
file is move to a .processed directory. When an exception occurs while
processing the file, the default error handler gets triggred but the route
never
Type converters is only for message body, and not for attachments.
Attachments is seldom used, in fact only camel-mail and camel-cxf
(SOAP w/ attachments) are some of the few using them.
Also be careful when logging. See this FAQ
http://camel.apache.org/why-is-my-message-body-empty.html
Not sure
Is this the approach that I should use?
http://camel.apache.org/type-converter.html
Here's my fear about proceeding along that path: Since camel isn't throwing
a NoTypeConversionAvailableException exception, then my guess is that Camel
is already using a type converter that it thinks works properl
Hi
You can also use "dynamic to" with the recipient list like the CXF
tomcat example
http://camel.apache.org/cxf-tomcat-example.html
Then you dont need all the content based router with the when predicates.
On Tue, Jan 28, 2014 at 7:10 PM, John Kramer
wrote:
> The hybrid approach seems attrac
The hybrid approach seems attractive.
Assuming your routes are running in the same camel context or jvm, would
using seda or vm be preferred over using jetty?
E.g.:
from("jetty:http://localhost:8081/test)
.choice()
.when("...").to("seda:install"l)
.otherwise().to("seda:registration")
from("sed
I prefer to split them up.
Usually it make it easier to maintain and test, or to make changes
afterwards.
Nice thing with Camel is that you can also combine your 2 options.
Simplified example:
from("jetty:http://localhost:8081/test)
.choice()
.when("...")
.to("jetty:http://localhost:8081/test/in
Hi John,
Thanks for mentioning the point below.
> the incoming message if it doesn't match. I.e. if a non-matching .from() is
> first to pull the http request, will the http request still be available for
> the correct endpoint to process? Asked another way, what does a .from(http)
> endpoint
Hi
Just one thing about 1 route vs N routes.
If you have N routes then you can individually control these routes to
suspend/resume them.
On Tue, Jan 28, 2014 at 4:48 PM, Shing Hing Man wrote:
>
>
> Hi John,
>
>
> Thanks for mentioning the point below.
>
>> the incoming message if it doesn't mat
Hi Ravi,
At present, I only have 4 routes. Each route has its own processor. The
routes and routing logic are stable but the processors might be changed
later.
All routes will have the same amount of traffic and configuration are the same.
Shing
On Tuesday, January 28, 2014 3:16
Hello Shing,
I'm in somewhat of a similar situation except I'll be pulling messages from
multiple email accounts for the from endpoint. I should add that I'm
relatively new to camel so please factor that into my responses to follow.
My first question regarding the use of the multiple route option
I believe that I've done what I can to make option (1) work - i.e. enable
Camel to automatically handle the message conversion properly. So I've moved
on to option (2) to see if there is an out-of-the-box Camel type converter
that I can use. However googling the issue hasn't been promising. Anyone
Hi There,
Iam trying to expose a Restful service using camel jetty & cxfrs ben
components as below:
My Service class:
@POST
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
@Path("/{somePathparam}")
public CustomResponse getRestSe
Yes, the idea is to manually inspect the messages to determine what caused
the problem, make any necessary corrections and replay them.
I'm assuming that I would need to stop and restart the Camel application to
fix whatever caused the processing of the message to fail. So I don't think
I could
Should it be default to TextMessage for json?
于 2014/1/28 20:15, Claus Ibsen 写道:
I would assume the json data format marshall into a byte array / byte
input stream. And therefore its mapped as bytes when sent to JMS.
Yes, you are right.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On January 28, 2014 at 7:24:46 PM, no
Instead of using choice you can use recipientList and then build the URL on the
fly. This will take care of at least resolving which REST service to invoke.
Your route will look something like this.
from("servlet:///?matchOnUriPrefix=true")
.process(customProcessor)
.recip
Hi All,
I know understand about camel and jms , but I will be glad for simple demo,
I have fuse ide, I want to build a simple route from jms message (activemq)
to xmpp server and backward,
Can some one please post demo for camel-context.xml?
Thank You
Gadi
--
View this message in context:
h
Thank You
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-and-Jboss-FUSE-IDE-tp5746328p5746538.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I would assume the json data format marshall into a byte array / byte
input stream. And therefore its mapped as bytes when sent to JMS.
On Tue, Jan 28, 2014 at 10:07 AM, Rural Hunter wrote:
> Hi,
>
> I'm using camel 2.12.2 with this route:
> marshal().json(JsonLibrary.Gson).to("activemq:queu
2014-01-21 Claus Ibsen
> Hi
>
> Yeah that is intended as when an exception occurs the exchange does
> not include any partial changes/updates that may have happened.
> Camel does a defensive copy of the information from the message in its
> error handler.
>
Hi Claus, thanks for your reply.
I f
Hi,
Looking at the Enricher source code, it looks to me that if an exception is set
and unhandled in a route called by the Enrich step, then the
AggregationStrategy is skipped (although the state, including exceptions is
copied over to the original exchange (Exchange.
copyResultsPreservePatter
you mean i need to do something like this?
ArrayList wraplist=new new ArrayList();
wraplist.add(fileList );
exchng.getOut().setBody( wraplist);
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-cxf-return-complex-type-object-problem-tp5746478p5746531.html
Sent from
Hi,
thank you for your reply. I tried and it works! thanks a lot..
However i want to know more: it's possible to set the dafault camel
namespace without prepending this kind of string? I saw that JAXB gives the
possibility to set predefined namespace in a class: this can be done with a
package l
Hi,
I'm using camel 2.12.2 with this route:
marshal().json(JsonLibrary.Gson).to("activemq:queue:completed")
When I process the message in other application, I found the message in
the queue is BytesMessage instead of expected TextMessage. I have to
force it to TextMessage by adding paramet
37 matches
Mail list logo