On Fri, Jan 3, 2014 at 6:57 AM, Richa wrote:
> I would also like to know if we can use hawtio project for commercial use.
>
Yeah hawtio is ASL2 licensed, so you can basically do (almost)
whatever you want to do with it - also commercial.
http://hawt.io/faq/index.html
And if you have any code cha
Hi,
while creating camel-context.xml in fuse-ide i'm unable to see all the
palettes that are present. it shows only few palettes. how to get all the
palettes to be displayed...?
Thanks in advance.
Thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/unable-to-see-al
Hi camel-riders,
Happy New Year!
In our application we have a lot of routes that follow the same pattern:
read a message, do some processing, update/insert in the database and then
send a message to the next route.
You can see an example here:
${header.lineValidationResponse} == 'VALID'
I would also like to know if we can use hawtio project for commercial use.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-JMS-monitoring-tp5745429p5745467.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Check.the jboss fuse examples. Check out a example called REST. its a good
illustration of REST
maheshpvd wrote:
>Hi,
>
>Can any one upload complete Rest webservice project It would be very
>helpful for me. as i'm starting to this.
>
>Thanks in advancve.
>
>
>
>--
>View this message in con
Hi,
Can any one upload complete Rest webservice project It would be very
helpful for me. as i'm starting to this.
Thanks in advancve.
--
View this message in context:
http://camel.465427.n5.nabble.com/Request-for-a-project-to-upload-for-Rest-Webservices-tp5745463.html
Sent from the Camel
Thanks claus.
The hawtio project is really nice and easy to use.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-JMS-monitoring-tp5745429p5745464.html
Sent from the Camel - Users mailing list archive at Nabble.com.
There is one shortcoming of the Zookeeper policy, the route is started before
the route policy get a chance to stop the consumer.
If you are using JBoss Fuse, you can try to camel master component[1], it just
starts the master component at the first place.
[1]https://access.redhat.com/site/docu
I have been trying to use zookeeper but it looks like the camel route on the
slave, which is subscribing to the IBM MQ,still runs. I could see the
exception below when I start the slave.
Cause: JMSWMQ0026: Failed to subscribe to topic '#/#/ITEM/MAINT' using
MQSUB.; nested exception is com.ibm.mq.M
Hi Claus,
to get the route status I'm just checking route.getStatus()
this.getCamelContext().suspendRoute(route.getId(), 5, TimeUnit.SECONDS);
//here I've also tried a brutal thread.sleep (7000);
log.info("route {} (status: {})", new Object[]{id, route.getStatus()});
that turns in
INFO com.ste.
On Thu, Jan 2, 2014 at 6:02 PM, frida wrote:
> Hi All,
> I'm on my very first approach with Camel, and probably I'm missing (more
> than) something :)
>
> I would like to suspend and resume routes from a web interface.
>
> I have a route:
> DefaultRoute route = (DefaultRoute) this.getCamelContext(
You can connect to JMX port of camel to accomplish this. There are a couple
of user interfaces that use web technology such as Hawtio. Writing one
would also not be that big of a deal.
See the following link: http://camel.apache.org/camel-jmx.html
*Robert Simmons Jr. MSc. - Lead Java Architect @
Hi All,
I'm on my very first approach with Camel, and probably I'm missing (more
than) something :)
I would like to suspend and resume routes from a web interface.
I have a route:
DefaultRoute route = (DefaultRoute) this.getCamelContext().getRoute(id);
and a camelContext (instance of SpringCamel
Try splitting up routes more and using ActiveMQ or another broker in
between the routes. So instead of "waiting for the message to arrive"
consume the message with a route and resume programming perhaps enriching
with other messages from other sources. You can also create an aggregation
strategy th
You have to register a transaction policy in the registry and with the
transaction manager. In straight java it looks like this.
final JmsTransactionManager txMgr = new JmsTransactionManager(amqcf);
registry.bind(KEY_AMQ_TXMANAGER, txMgr);
final SpringTransactionPolicy txPolicyRequired
Hi
required is implied. So try changing
transacted("required").
to ...
transacted().
On Thu, Jan 2, 2014 at 1:45 PM, fkfausa wrote:
> Hi!
>
> I get the following error:
> Caused by: org.apache.camel.RuntimeCamelException:
> org.apache.camel.FailedToCreateRouteException: Failed to create rou
I would guess that RabbitMQ is using their own headers for this and you are
removing those headers in your route when you call .
Try removing that line and debugging and see if you find them. Then use
exclude patterns to make sure you dont remove the ones you need.
*Robert Simmons Jr. MSc. - Lead
On Thu, Jan 2, 2014 at 12:35 PM, Richa wrote:
> Hi,
> I have a camel route for which I want to enable monitoring. I have added the
> following code to enable monitoring:
> System.setProperty("org.apache.camel.jmx", "true");
>
> context.getManagementStrategy().getManagementAgent().setServiceUrlPath
Hi!
I get the following error:
Caused by: org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route
BAS.G8.workorders.processJMSMessageRoute at: >>> Policy[ref:required] <<< in
route: Route[[From[activemq:queue:bas-integration.workorders.incomi..
>> Step 2 implies that the message coming on Q2 needs to be inspected and
only if it turns out to be M2.
I think the Content-Based Router EIP is a good fit here,
http://camel.apache.org/content-based-router.html. For example:
from("jms:q2")
.choice().when(body().isInstanceOf(M2.class))
Hi Xavier,
I am kind of facing similar issue that you had faced earlier.
I have added
in my camel context
and in the url, I have
.to("https4://dummy?httpClient.soTimeout=6&x509HostnameVerifier=x509HostnameVerifier");
But even after that it kept on giving me exception for host name
verif
Dear William,
Actually Web method contains single argument, so I have passed
"Hello"(*exchange.getIn().setBody("Hello"); *). Can u tell me what is the
problem of bellow code.
*Web Service Method:*
public String getApplication(String data) {
System.out.println("getApplica
Willem,
That worked like a charm. Your help is much appreciated.
Thank you so much.
On Thu, Jan 2, 2014 at 6:21 PM, Willem Jiang wrote:
> No, you don’t need to change the signature.
> When you set the response result into the message body, you need to wrap
> the result into a List just like
No, you don’t need to change the signature.
When you set the response result into the message body, you need to wrap the
result into a List just like this
List books ...
List resultList = new ArrayList();
resultList.add(books);
exchange.getOut().setBody(resultList);
--
Willem Jiang
Red Hat, I
Willem,
I tried changing the signature to List> getBooks(); but that
didn't work. So I tried creating a wrapper class that wraps the List
and named it Books and changed the method to Books getBooks(). But still I
am getting the ClassCastException as follows:
org.apache.cxf.interceptor.Fault: org
As you set the invocation parameter as POJO list, you need to set the
dataFormate to be POJO.
Because camel-cxf default data format is POJO, removing the endpointUri option
of dataFormat should work for you.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.b
Hi,
Here goes the full stack trace.
[ qtp1924936723-17] BooksQueryResult INFO
Exchange[ExchangePattern: InOut, BodyType: java.util.ArrayList, Body:
[org.test.cxfws.domain.Book@743479ce, org.test.cxfws.domain.Book@2128fefc,
org.test.cxfws.domain.Book@a7c6366, org.test.
You need to put the Book List into another List, as camel-cxf use list to hold
the response for handling the InOut parameters.
--
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:
Hi,
I have a camel route for which I want to enable monitoring. I have added the
following code to enable monitoring:
System.setProperty("org.apache.camel.jmx", "true");
context.getManagementStrategy().getManagementAgent().setServiceUrlPath("/route/monitoring");
context.getManageme
Done Required changes still have some issue.
String endpointUri=
"cxf://http://localhost:8081/buzzor-service/services/ApplicationService?";
+
"wsdlURL=http://localhost:8081/buzzor-service/services/ApplicationService?wsdl&";
+
"serviceN
Thanks. My route is a little bit different and I don't want to write the
request "by hand" like that. What I'm doing is:
process(populateBeanProcessor). // 1
marshal(soapJaxbDataFormat). // 2
to(fooService). // 3
etc()
1 = processor creates a JAXB bean which represents my request
2 = JAXB
Hi,
> Can someone help me to understand why the ClassCastException.
Please send us the full stack trace you get.
Cheers.
--
Henryk Konsek
http://henryk-konsek.blogspot.com
On Wed, Jan 1, 2014 at 3:11 PM, sebh wrote:
> Turns out that indeed all endpoints were mocked and skipped including the one
> that is used as a producer, resulting in no message being sent around.
>
> When using @MockEndpointsAndSkip(pattern) the producer should not be
> included by the pattern.
>
Please use exchange.getIn() instead of exchange.getOut() in the process method.
--
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: willemjia
Dear,
I also want to call third party web service using camel but i am unable to
call.
I have tried two things
First is:Creating SOAP String manually.
Exchange exchange = template.request(endpointUri, new Processor() {
public void process(final Exchange exchange) throws
35 matches
Mail list logo