Hi,
You must declare the following bean if you want to use a connection pool factory
Next, you can reference it from your ActiveMQComponent bean
KR,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel/ServiceMix C
Hi Roman,
Please find the stack trace attached here with.
http://old.nabble.com/file/p28851402/stacktrace.txt stacktrace.txt
RomKal wrote:
>
> 2010/6/10 mevikasg :
>>
>> Hi Roman,
>>
>> Thanks for the reply.
>>
>> I have already tried it but no luck.
>>
>> Infact, tried following too:
>>
>>
Hi
I have a route that works fine without the batch sequencing and it works fine
with batch sequencing but INONLY,
it doesn't work when I expect a reply.
I've simplified the code to the following to eliminate my code as much as
possible.
from(afisEndpoint).resequence(header(seqNum)).batch(new
Hi,
You can get the soap fault message detail by checking out the
responseBody from the HttpOperationFailedException.
Willem
gnanda wrote:
Hi All,
I am using camel 2.2 with servicemix 4.2
I am trying to retrieve soapFault message from HttpOperationFailedException
I could able to print the e
Hi,
The error seems to be on the server as indicated by the HTTP error code. Can
you provide more detail on the server/service and if/whether it is up and
properly functioning (i.e has a listener looking for a soap payload at the
endpoint).
This is not a client side error...
Cheers,
Ashwin...
Hi All,
I am using camel 2.2 with servicemix 4.2
I am trying to retrieve soapFault message from HttpOperationFailedException
I could able to print the exception as below
Exception ex =
exchange.getProperty(Exchange.EXCEPTION_CAUGHT,Exception.class);
log.info(ex);
It prints the message as below
"or
Hi All!
I originally posted this message to the "Camel in Action" forum but I'm
hoping that someone here can help me out as well.
I understand when an exception is thrown by some process during the Exchange
(within a route) it is handled by the error handler and I understand all the
onException
Hey,
it looks like, you use the
'org.apache.camel.model.dataformat.JaxbDataFormat' and not the
'org.apache.camel.converter.jaxb.JaxbDataFormat' from camel-jaxb...
Cheers,
Christian
Christoph,
Thanks I just tried the ActiveMQ component instead of the JMS Component:
and I get the same result. Next I will try the PoolingConnectionFactory to
see if the constant connection/disconnections are minimized.
Thanks for your suggestions.
Regards,
Thomas
Meise, Chr
Thank you for the replies - that is exactly what I wanted. I hadn't dug
enough through the Split() documentation to see the parallel processing
part.
I added the .executorService() part so I could cap the number of threads.
Thank you!
Jonathan
--
View this message in context:
http://old.nabb
Hi,
I'm moving the Fuse Camel examples from camel 1.6 to 2.2. In the
example, there is an exercice where we create a custom FileComponent.
I have been able to deploy the OSGI bundle but when I start the route
using this component, I get this error :
18:39:56,609 | ERROR | xtenderThread-12 | Conte
The older Camel 1.x [1] is still in use and very stable but a few issues have
been fixed over the past six months since the last release. Therefore we
thought appropriate to issue a new 1.6.3 maintenance release [2] which comes
with 39 issues resolved (see release notes [3]) such as:
•
Hi Bengt,
I just tried to use some file endpoint inside our camel OSGi test
platform, the route is started without any issue.
Can you create a small test case which is based on you application and
submit it into a JIRA ?
In this way I can keep on digging the issue :)
Willem
Bengt Rodehav wr
Hi
You most likely need that jaxb.index file in your JAR.
Just google it and see how to use that.
On Thu, Jun 10, 2010 at 4:26 PM, Nav1771 wrote:
>
> I have tried various solution given in this forum before posting this issue.
> Somehow they dont work with Camel 2.3.0. I would be grateful if so
I have tried various solution given in this forum before posting this issue.
Somehow they dont work with Camel 2.3.0. I would be grateful if someone
could shed some light on how to use the Marshaller.
Caused by: javax.xml.bind.JAXBException: class com.CamelTest.JAXBTestObject
nor any of its sup
On Thu, Jun 10, 2010 at 1:51 PM, Charles Moulliard wrote:
> Hi,
>
> Where is the code of this example :
> http://camel.apache.org/cxf-async-example.html ?
>
This example is @deprecated as we overhaul the asyc routing engine in 2.4.
ToAsync is @deprecated and you should not use it. Hence we remove
Hi,
Here is an unit test[1][2] you can take a look.
[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-servlet/src/test/resources/org/apache/camel/component/servlet/web.xml
[2]https://svn.apache.org/repos/asf/camel/trunk/components/camel-servlet/src/test/java/org/apache/camel/co
I now get the following exception:
java.lang.TypeNotPresentException: Type
org.apache.camel.component.file.strategy.GenericFileProcessStrategyFactory
class not found not present
at
org.apache.camel.component.file.GenericFileEndpoint.createGenericFileStrategy(GenericFileEndpoint.java:145)
2010/6/10 mevikasg :
>
> Hi Roman,
>
> Thanks for the reply.
>
> I have already tried it but no luck.
>
> Infact, tried following too:
>
> errorHandler(deadLetterChannel("mock:error"))
> from("imaps://imap.gmail.com?username=testm...@gmail.com&password="
>
> +"&deleteProcessedMessages=false
Bengt Rodehav wrote:
Willem,
I'm just now building a new trunk version of Camel and need to verify with
you that I'm using Camel properly in an OSGi environment:
- I only install the features "camel" (includes camel-core and camel-spring
bundles) + camel-ftp (that I wish to test)
That could b
Hi Roman,
Thanks for the reply.
I have already tried it but no luck.
Infact, tried following too:
errorHandler(deadLetterChannel("mock:error"))
from("imaps://imap.gmail.com?username=testm...@gmail.com&password="
+"&deleteProcessedMessages=false&processOnlyUnseenMessage
I have successfully configured my spring XML to unmarshal a file delimited by
pipe symbols using the following:
with the readPipeCsv bean configured as:
However, the same technique does not work when trying to marshal the CSV
data, i.e. the output has comma delimited
Hello,
In camel-sql component you should use # sign instead of ? as question
marks has its own meaning in URL notation.
Unfortunately it looks that you cannot really use # sign itself, as it
will be converted to questionmark (so your '#' will become '?').
I'll create a a bug for this # sign prob
Hi,
Where is the code of this example :
http://camel.apache.org/cxf-async-example.html ?
KR,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel/ServiceMix Committer
***
- Blog : http://cmoulliard.blogspot
Is there an example of deploying a java-dsl camel route as a servlet without
the spring dependencies?
If no example already exists, can someone outline here what is needed?
Thanks,
John
--
View this message in context:
http://old.nabble.com/servlet-deployment-without-spring-dependencies-tp288
Willem,
I'm just now building a new trunk version of Camel and need to verify with
you that I'm using Camel properly in an OSGi environment:
- I only install the features "camel" (includes camel-core and camel-spring
bundles) + camel-ftp (that I wish to test)
Do I need camel-spring if I'm not u
Hi,
Is there a way to extend the component camel-mina to allow by example
to add a layer to communicate with the distant TCP server ?
By example, we must send a message (bytes) at the beginning of the
session (= login), another to indicate to the server that we close the
connection (=logout) and
Hi,
Thanks Claus for your response.
The method signature is
public void test(Object o) {
System.out.println("Argument: " +o.getClass());
}
Regards,
Marcin
Claus Ibsen-2 wrote:
>
> Well you gotta show the method signature to us, as w
Hi,
I am a newbie in Grails-Camel world.
In my grails-groovy web application, i am trying to insert received messages
in mail account into db table using Camel SQL component.
So far via my Route, i can easily access my mail messages and even can
perform SELECT queries on db as well. But, i am u
Yes, you just need to replace the from endpoint uri with a property,
then you switch the ftp endpoint with file endpoint easily.
Replacing the jms-component with a seda-component is not a good example,
as jms has some unique operations which seda-component will not take,
and it will cause some
If you just want to send a SOAP message which you already create, using
the camel-http component could be a best choice.
Willem
StonePeng wrote:
i see, in fact this approach need write your codes to send operation and
params to call the webservice that was defined in cxf:cxfEndpoint. it cant
Hi Bengt,
It's a typo, I just fixed it with an OSGi unit test.
Please check out the last camel trunk code to keep on riding with Camel :)
Willem
Bengt Rodehav wrote:
Thanks Willem - what a relief...
I eagerly await the results from your digging,
/Bengt
2010/6/10 Willem Jiang
I can reprod
Hi
Well, you could use property placeholders with different property files for
test and runtime.
You could then define the endpoints externally in two files and use the ftp
component for runtime and the file component for tests.
Cheers,
Max
-Ursprüngliche Nachricht-
Von: ankelee [mailt
Hi
I'm setting up a test for a route that starts at an FTP-endpoint. I would
like to be able to test without setting up an FTP-server.
In Camel in Action there is shown a trick where you can replace the
jms-component with a seda-component and then consume from that endpoint. Is
there any tricks
i see, in fact this approach need write your codes to send operation and
params to call the webservice that was defined in cxf:cxfEndpoint. it cant
be completed work only through config file. the cxfEndpoint don't work until
receive a message-driven that is a request SOAP msg.
i think, it is the
Thanks Willem - what a relief...
I eagerly await the results from your digging,
/Bengt
2010/6/10 Willem Jiang
> I can reproduce the error that you met, there must be something wrong with
> current OSGi refactoring,
> I will keep digging to see if I can fix this issue soon.
>
> Willem
>
>
> Ben
Maybe this helps: http://camel.apache.org/jms.html#JMS-Notes, especially the
pooling of connections which is recommended when using Springs JmsTemplate.
Regards,
Christoph
-Ursprüngliche Nachricht-
Von: tbarnes [mailto:thomas_bar...@intuit.com]
Gesendet: Mittwoch, 9. Juni 2010 23:59
An:
I can reproduce the error that you met, there must be something wrong
with current OSGi refactoring,
I will keep digging to see if I can fix this issue soon.
Willem
Bengt Rodehav wrote:
Thanks for your reply Willem,
I've tried various combinations of camel features. Right now I use the
"camel
38 matches
Mail list logo