Hi all:
I've been reading up on how to configure Camel for use under Websphere and
Websphere MQ. I've gotten things working except for a nagging error:
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2012
The route that is having the problem is reading from a DB and putting the
me
Looking forward to it :-)
--
View this message in context:
http://camel.465427.n5.nabble.com/Abstracting-Routes-using-Components-tp3234703p3294704.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I created a route in Java that passed the filename to a Camel Exec function
like this:
public void configure() throws Exception {
from("file:c:/aaa/FromZip")
.setHeader("CamelExecCommandArgs", simple(" ${file:name}"))
.to("exec:c:/aaa/Scripts/test.bat");
}
and this worked perfectly
Hi Kristof
Thanks for posting and keeping us updated.
I know Ashwin is working on this as well and I think he got most part working.
So we ought to have something to show in this month. Then we all can
take a look and have it improved a bit here and there.
Your solution looks cool though, so gre
Guys,
I want build a test using protocolbuf inside a Jetty body.
import java.io.InputStream;
import junit.framework.TestCase;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.Processor;
import org.apache.camel.Produ
Hi
Thanks for reporting this. I have created a ticket
https://issues.apache.org/jira/browse/CAMEL-3395
And will commit a fix shortly (if my fix passed the tests)
On Thu, Dec 2, 2010 at 2:31 PM, sebastien.petrucci
wrote:
>
> Hello,
>
> I'm an Apache Camel newbie and as I was digging into it I f
Hi Patrice,
Camel uses the javax.xml.xpath librairies of the KDK. To parse the
document, it uses DOM class of org.w3c.dom.Document, Node, ...
But you can use a different documentType to convert the string into a
Sax stream instead of a DOM
/**
* Configures the document type to use.
On Mon, Dec 6, 2010 at 3:16 PM, mikaelfj wrote:
>
> Hi,
>
> I'm in the process of transforming XML to FixedLength, by
>
> - using jaxb to unmarshal XML to Java
> - using ? to transform Jaxb classes to bindy-annotated classes
> - using bindy to marshal BindyFixedLengthDataFormat to fixed length rec
Hi,
I'm in the process of transforming XML to FixedLength, by
- using jaxb to unmarshal XML to Java
- using ? to transform Jaxb classes to bindy-annotated classes
- using bindy to marshal BindyFixedLengthDataFormat to fixed length records.
I've been unable to locate a smart way of going from t
Hi,
I'm handling big XML messages (they may be a few MB big).
I'm concerned about potential performance issues.
How is XML handled internally in Camel?
What happens when I call xpath() in a camel route?
What is the XPATH engine used? Is the whole XML parsed into a DOM W3C Document?
Is there any a
Hi,
I'm sure will not get a java object back as http response ;) You should
read this documentation http://camel.apache.org/http.html and perhaps
write a simple test to check out how your response looks like. Then you
can convert it to a java bean or wath ever you want.
Best regards - Claus
claus.straube wrote:
>
> Hi.
>
> You can use camel in your java class like this:
>
> @EndpointInject(uri="direct:start")
>
> protected ProducerTemplate start;
>
> ...
>
> start.sendBody(body);
>
>
> The route should look like this:
>
> from("direct:start") // This is a java class and th
Hi
Thanks for reporting.
The issue is that the exception occurs in the evaluate of the
expression which happens before Camel routes the splitted message.
Then the exception is caught by the splitter EIP and it regard the
exception as being exhausted. And therefore the onException doesn't
kick in.
Hi Ioannis,
Here are some links that could help you :
http://fusesource.com/wiki/display/ProdInfo/FUSE+Message+Broker+Performance+Tuning+Guide
http://fusesource.com/collateral/23/
But using persistence really reduces performance on ActiveMq
Regards,
Charles
--
View this message in context:
Anyone?
-
Ioannis Canellos
http://iocanel.blogspot.com http://iocanel.blogspot.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Performance-issues-when-using-camel-activemq-and-transactions-tp3284122p3293861.html
Sent from the Camel - Users mailing list archive at Na
Hi,
I try to use JAAS authentication within a camel route using
SecurityHandler of Jetty
http://camel.apache.org/schema/spring";>
http://localhost:8080/services?handlers=securityHandler"/>
The authentication works fine (I can provide the username + passord in
t
found !
thank you Claus
--
View this message in context:
http://camel.465427.n5.nabble.com/idempotentConsumer-and-eager-option-tp3293765p3293804.html
Sent from the Camel - Users mailing list archive at Nabble.com.
A good idea is to check the unit test source code of camel-core
eg see: IdempotentConsumerEagerTest
On Mon, Dec 6, 2010 at 10:58 AM, jmh wrote:
>
> Hi,
>
> how to configure eager=true in this use case:
>
> from("activemq:inprogress?transferExchange=true")
> .rout
Hi,
how to configure eager=true in this use case:
from("activemq:inprogress?transferExchange=true")
.routeId("inProgress")
.idempotentConsumer(
simple("${property.gedFileName}#$
Hi Claus,
yes I'm using ActiveMQ and your suggestion could solve my problem :-)
Thank a lot
JM
--
View this message in context:
http://camel.465427.n5.nabble.com/How-create-aggregation-strategy-with-JMS-concurrent-Consumers-and-a-splitter-in-streaming-mode-tp3293712p3293723.html
Sent from th
Hi,
perhaps you want to take a look at ActiveMQ Message Groups. I think this
could solve your problem (if you're using ActiveMQ).
http://activemq.apache.org/message-groups.html
Best regards - Claus
On 06.12.2010 09:40, jmh wrote:
Hello,
a common requirement with JMS is to consume messages
I also remarked that using the NMR adds another entry in the exchange header
: NMRMessage which holds a copy of the message before entering the NMR.
I was wondering what is it used for ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Serialization-CamelAuthentication-is-nu
Hello,
a common requirement with JMS is to consume messages concurrently in
multiple threads in order to make an application more responsive.
I agree but I have a question about aggregation strategy with the
architecture below :
in my spring context :
...
23 matches
Mail list logo