Thanks for the reply.
All the examples i have looked at is this the way to do it, yes its possible
to use sjms, this is new, and there stille some problems using it.
I have struggelt with this problem for 2 days now, i dont know what my
problem is here
Frank
--
View this message in context:
Thanks for the hint Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/Usage-of-interface-NotificationSender-and-ManagedNotification-tp5753980p5754186.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Have you added all the mq jars? There is quite a number of them. And are
they all from the same mq version?
You have a list of errorcodes here:
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.0.1/com.ibm.mq.csqsao.doc/fm13700_1.htm?cp=SSFKSJ_7.0.1%2F1-28-46-1-0-165lang=en
2014-07-22 7:57
Thanks
I use this jar files:
com.ibm.mq.commonservice.jar
com.ibm.mq.headers.jar
com.ibm.mq.mq.jar
com.ibm.mq.jmqi.jar
com.ibm.mq.pcf.jar
All version 7.0.1.1
I looked at the RC2195, and that tells my that i have to contact the system
programmer, but but, he is on holliday to monday...
So
Hi
Sending back a reply message from an exception depends if the
component support that. For example the jms component has a
transferException option you must enable.
http://camel.apache.org/jms
Usually you may want to handle the exception using .handle(true) and
then transform the message to
Hi guys,
I'm looking for some feedback on a recently published book on Apache Camel,
namely, Apache Camel Developer's Cookbook
http://www.packtpub.com/apache-camel-developers-cookbook/book .
Link to the book page:
http://www.packtpub.com/apache-camel-developers-cookbook/book
Hi everyone,
I'm working with camel to build a server that involves a lot of parallel
processing, and some of my messages get stuck somewhere. I will try to
explain my problem by explaining what I'm doing.
I have this camel route :
The idea is that the REST request that triggers the route
Please
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-remove-intercept-or-process-from-superclass-with-adviceWith-tp5753834p5754195.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It is recommended to use blueprint with Camel if you run your routes on osgi.
But what would you miss out if your choose to run Camel routes in / imbedded
in Spring (SpringBoot) in stead of Karaf? You anyway get the ease of testing
with Spring.
Using Fuse : Camel, Activemq, and starting with
That is what official Red Hat Fuse ESB Enterprise documentations says:
When trying to decide between the blueprint and Spring dependency injection
frameworks, bear in mind that blueprint offers one major advantage over
Spring: when new dependencies are introduced in blueprint through XML schema
Are you getting any memory specific issues which indicate inability of system
to create indefinite threads ?
It seems you want to spawn as many threads as possible in order to execute
the job faster.
Have you tried following option and played around with number of threads in
the pool ? [ in the
Hi,
Yeah that's the bit I'm struggling back with I though with the inOut if an
exception was thrown / not handled then camel would return something back
automatically so that the exchange would say fault and the original route
would continue from the inOut.
So I was thinking something like
Help to understand the following information
karaf@root camel:route-list
ContextRoute Status
---- --
camel-exchange-oos-dict-read route-exchangeDictRead
I think it is also a question of modularity/concern.
The major subject of Camel is to make routes between services (EIPs).
So everytime you deploy a new service (and so modify your routes) you'll
have to stop and restart them.
Now, if you have mutliple routes on the same Vm and use Spring, a
Thanks for your reply Matt. I have tried using CachingConnectionFactory and now
it creates only one connection. But the issue with this is when I stop the
camel route, I can see the connection is still open in the IBM MQ explorer.
Also when I restart the camel route again it creates a new
Thanks for your reply.
Uh ok, I put the wrong log4j level and didn't saw all the
OutOfMemoryErrors...
Using Executors.newFixedThreadPool(1000) looks good. However as you pointed
out, I'm looking for the best number of threads. Am I forced to define a
static (max) size ?
I hoped that the
Is there an easy way to log the xml data sent to a web service? We need this
only for debugging. So if this could be switched with loglevel would be
great.
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-out-sent-xml-data-for-cxf-producer-tp5754245.html
Sent from the
Apache CXF has some logging information here. I think you need to add
some cxf logging intercepts. But you can then turn their logging level
accordingly what you want
http://cxf.apache.org/docs/debugging-and-logging.html
And there is also something about logging here
Thanks this was fast,
in meanwhile i found this from
(http://stackoverflow.com/questions/23339650/capturing-apache-camel-route-cxf-web-response)
from uri=file:src/data?noop=true /
log loggingLevel=INFO message=${body}/
to
For testing, you have some frameworks with OSGI too:
* You can use Spring for unit testing (it will replace blueprint as test
context)
* You can use pax-exam (maybe with karaf-pax-exam-container) for
integration testing (all your stack, as you would do with spring/tomcat)
2014-07-22 13:59
found loggingFeatureEnabled if set to true all in- and outbound messages
are logged. The only problem with it is: it is logging as info what is not
appropriate.
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-out-sent-xml-data-for-cxf-producer-tp5754245p5754251.html
Hi,
I'm trying to insert a list of data to a table using MyBatis Batch.The query
seems to be fine as I was able to insert the data successfully from a a SQL
client, but fails with MyBatis.
Below are the Camel DSL Route, Mapper Query, SQL Log and Exception trace
and SQL Query that run
I ran the same case directly by obtaining a MyBatis SqlSessionFactory and it
ran fine. The only difference I see is the way I used it in the Camel Route
and API call is:
*From Camel Route:*
.to(mybatis:insertTransactionBids?statementType=*InsertList*executorType=batch)
*MyBatis API call:*
i am creating some routes with jave in a for loop (all is working fine). now
i need to add throttle to the outer route definition but with it i get:
Exception in thread main org.apache.camel.FailedToCreateRouteException:
Failed to create route cepToRtdmdfESP://192.168.154.128:5/TEST/TEST/PCRF
Hi
You need to use the fluent builder that is returned, something alike this
ProcessorDefinition pd = from(fromEndpoint)
if(throttleOn){
pd = pd.throttle(10)
}
pd = pd.process(someProcessor)
On Tue, Jul 22, 2014 at 8:03 PM, dermoritz tantea...@hotmail.com wrote:
i am creating
Hi
I have been looking at onCompletion in 4 scenarios:
a) normal - exchange finishes normally
b) on exception - an exception is thrown and handled
c) stop is called in the route
d) the faultBody is set
It looks to me as though onCompletion is not triggered when stop is called
but is in the other
Thanks for quick reply (it is working),
the only downside on this is i can't call autoStartup(false) on
ProcessorDefinition. The only workaround i see is to use another variable
for ThrottleDefinition or set autoStartup on RouteDefinition and then cast
to ProcessorDefinition?
--
View this
Hi all -
I am trying to add some headers to the exchange's out on all routes.
Specifically, I would like to add the following to support CORS:
exch.out.headers['Access-Control-Allow-Origin'] = '*'
exch.out.headers['Access-Control-Allow-Methods'] = 'POST, PUT, DELETE,
GET, OPTIONS'
Fabric only supports Karaf right now, but it's supposed to add support for
more servers over time (I think Tomcat or Jetty was one of them).
On 22 July 2014 10:47, Charlie Mordant cmorda...@gmail.com wrote:
For testing, you have some frameworks with OSGI too:
* You can use Spring for unit
You'd need some sort of stale connection checking. If you combined
commons-pool2 with the JMS API, you could make a simple connection pool
that uses ConnectionFactory to create new connection objects. This library
has a bunch of pooling concepts already coded in (like
activating/passivating,
Hi,
I am producing events through a centralized Spring managed bean that uses
the @EndpointInject annotation.
@EndpointInject(uri=direct:*incomingEvents*)
These events are then routed to individual queues based on a header value:
route xmlns=http://camel.apache.org/schema/spring; id=mainRoute
Have you checked CamelAwsSqsMessageAttributes and CamelAwsSqsAttributes
headers?
It is best if you log the whole exchange exactly after consuming to see for
yourself which headers are populated.
Something like:
from(aws-sqs:foo).
to(log:com.mycompany.order?showAll=truemultiline=true);
HTH,
I have a camel route that routes from a Camel CXF (producer) Endpoint,
performs some transformation, then the route sends to a CXF (consumer)
Endpoint. I've tried options like XSLT, xquery, and velocity, for
performing the transformation step - but the developers I'm working with
would prefer a
The loggingFeature is mainly for debugging.
If you want to change the log level you may need to setup your own logger
interceptor to the cxf endpoint yourself.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com
Can you double check if there are different version JMS API jars in you war
and web sphere container?
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On July 21,
I can get routes kicked off in Java DSL however the timer routes execute once
and only once no matter what. Here is a sample of what I have, very
easy/simple. But it just fires once. Successfully, but just once.
36 matches
Mail list logo