riate.
>
> We are using Camel 2.10.1 with MQ version 7.0.x
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Deleting-MQ-Temporary-Queue-tp5730231p5730290.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
+46736845680
ssage in context:
> http://camel.465427.n5.nabble.com/File-Zip-compression-route-tp3412721p5730481.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
+46736845680
Sorry, you only need Java 7 if you want support for ZIP64...
2013/4/8 Magnus Palmér
> Yes, provided you use Java 7 and Camel 2.11...
> http://camel.apache.org/zip-file-dataformat.html
>
>
> 2013/4/8 jeff
>
>> Hi,
>>
>> I dig this old thread, is there a
esh(AbstractApplicationContext.java:428)
> at
>
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
> at
>
> org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
> at
> org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:186)
> at org.apache.camel.spring.Main.doStart(Main.java:140)
> at
> org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> at org.apache.camel.main.MainSupport.run(MainSupport.java:139)
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Error-when-using-Camel-write-to-Websphere-MQ-tp5727817.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
+46736845680
esting and I've sometimes picked up
on articles in this list that I would have missed otherwise so I thought I
would return the favor and hope I don't make too much noise.
--
Brgds, Magnus Palmér
+46736845680
mel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
t;
>
>
>
>
>
>
>
>
>
>
>
> I could see the initialization of exception listener, but it is not getting
> invoked on the exception.
>
> Is this missing something?
>
> Thanks
> Praveen
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/org-springframework-jms-InvalidDestinationException-while-trying-to-place-a-message-on-queue-tp5730697p5730796.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
The best way is to create a JUnit test that uses ActiveMQ so it can
potentially become a part of the source.
Using ActiveMQ you will need to make sure that you don't dynamically create
new destinations on the fly.
http://activemq.apache.org/how-do-i-create-new-destinations.html
I think I would the
/core";
brokerName="localhost" id="broker" useJmx="false" persistent="false"
start="true" dataDirectory="target/data">
2013/4/15 Magnus Palmér
> The best way is to create a JUnit test that uses ActiveM
text.stop();
>
> } catch (Exception e) {
> e.printStackTrace();
> }
>
>
> }
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CronScheduledRoutePolicy-example-tp5730978.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Brgds, Magnus Palmér
+46736845680
There are examples of how to do it on the Bindy documentation page:
http://camel.apache.org/bindy.html
Look for the @Link
2013/4/17 fbarbat
> Sorry, after I wrote the post I felt it wasn't clear enough too...
> I wanted to ask if there was a feature to similar to Hibernate's components
> (or B
It should work, but it doesn't for me.
Seems like the BindyFixedLengthFactory does properly notice that I have
linked two fields in the middle of my record when it builds the model, but
when it does the parsing (unmarshalling) it tries to read all the fields
from the main record and not properly t
A very simple JUnit test, code and description is in the below gist:
https://gist.github.com/magnuspalmer/5418305
2013/4/19 Charles Moulliard
> Hi,
>
> Can you provide the code used so we can make a try (unit test using
> camel-bindy) and fix if there is an issue please ? As I have created the
I do use Groovy and Gradle with Camel.
I haven't used the uber-jar with Gradle though, I am using the fatjar
plugin instead - https://github.com/musketyr/gradle-fatjar-plugin
You didn't provide any information about which versions you are using, for
instance in Camel the ".process { closure }" wor
You use the Spring annotation @Autowire for your ProducerTemplate which is
null when you try to use it.
You wrote that you don't use Spring?
You will need a CamelContext for your route to run in as well.
Kind regards, Magnus Palmér
2013/5/29 Bovas
> Hi,
>
> I use camel 2.11,
As an integration platform I think this article should will scare some
people:
http://www.jayway.com/2010/05/07/xslt-transformations-in-oracle-service-bus
In Sweden it has also been notoriously hard to find competence on Oracle,
even from Oracle themselves.
http://www.jayway.com/2010/05/07/xslt-t
The log4j config you shared only tells us what log level you have
configured for org.springframework classes.
I assume your bean doesn't belong to that package.
So, what log level is the rootLogger at, what package does your bean class
belong to that doesn't log, how is your myCustomAppender confi
lling)
{"string":"1<\/id><\/a>"}
Seems as if I am missing some fundamental understanding of how things work?
How can I get my XML to be recognized as XML (which obviously the split and
xpath do)?
--
Brgds, Magnus Palmér
+46736845680
ess the headervalue as a String.
Trying for instance with header(Exchange.HTTP_URI). or with converting a
"simple" expression into a string value.
What am I missing?
--
Brgds, Magnus Palmér
+46736845680
Thanks, didn't think it was related to the enrich itself so missed that.
Quite a big red box in the book.
recipient list with aggregationstrategy did the trick.
I'll have a look at JIRA.
2011/4/29 Claus Ibsen
> On Fri, Apr 29, 2011 at 7:58 AM, Claus Ibsen
> wrote:
> > 2
-r--r-- permissions. I need rw-rw-r.
I would expect it to work after changing umask from 022 to 002 or 0002 for
the tomcat6 user.
Anyone know?
--
Brgds, Magnus Palmér
+46736845680
ul.
(Using Camel 2.7.2)
Kind regards, Magnus Palmér
P.S. Yes, I've seen this:
http://camel.465427.n5.nabble.com/Using-HTTPS-in-camel-http-when-remote-side-has-self-signed-cert-td473876.html
I've also read the http://camel.apache.org/http4.html
Tried to make something out of the test sourc
In Quartz the first parameter is seconds.
To execute every 5 min cron-style use this cron expression (works for me):
cron=0+0/5+*+*+*+?
Brgds, Magnus Palmér
2011/8/1 dattu.1729
> Hi,
>
> I am using camel->quartz component. My use case is "Have to merge all
> avaliable fi
} catch (KeyManagementException e) {
logger.error(e);
}
}
}
2011/6/22 Magnus Palmér
> Hi,
>
> I was just about to ask a similiar question after being up all night trying
> to get my https4 URI to work.
>
> I get this:
>
>> javax.net.ssl.SSLPeerUnver
This works fine on Linux (Ubuntu) and Tomcat:
xslt:file:///var/opt/projectname/resources/OrderProductResponse.xsl
Using it with Java DSL however and not Spring XML DSL, not sure it makes any
difference.
/Magnus
2011/8/4 shekher awasthi
> can you please elaborate what you mean by
> " that the fil
0 0/10 13 * * ? tells Quartz to trigger att 13:10, 13:20, 13:30, 13:40 and
13:50
You need a stop route as well
I use the Java DSL and use both the policy.setRouteStartTime and
policy.setRouteStopTime
Should be same for Spring XML DSL.
To start at 13:10 and end at 13:50 you need
CronExpression Sta
camel?fileName=epistate.tsv"
Also as Christian wrote, you need to add your RouteBuilder to the Camel
context.
Check out the getting started example perhaps?
http://camel.apache.org/getting-started.html
(Or even better, the excellent "Camel in Action"-book.)
/Magnus Palmér
2011
The body() in your case is a file it seems.
Try to convert it to a String before the split and see if that helps.
convertBodyTo(type) or convertBodyTo(type, charset)
from(fromUri).
log("route complete content: ${body}").convertBody(String.class).
split(body().tokenize("@")).
Yes, happened to me when I started to also add attachments.
This solved my problem:
message.setHeader(Exchange.*CONTENT_TYPE*, "text/plain");
It worked fine without setting the contenttype at start, but after I added
this in my processor the body was also sent as an attachement:
ByteArrayDataSou
I would make your md5bean return a file.
Not sure if the current Jira issue of not cleaning (deleting) the file until
JVM stops will apply for you then or not.
Don't have the link to it right now.
--
Magnus Palmér
+46 736 845680
12 aug 2011 kl. 16:51 skrev wing-tung Leung :
&g
Hi,
If you have WMQ 7 installed on your computer the following environment
variable will be set: MQ_JAVA_INSTALL_PATH
If you only want to use WMQ as a client, the clients are freely available
to download from IBM, think you need to register though. Search for
Websphere MQ supportpac.
However you s
I had a project using the Bindy for Camel 2.7.3 that has this code (with 87
fields about the same as the first one):
@CsvRecord(separator = "\t", crlf = "UNIX", generateHeaderColumns = false)
> public class CsvProduct {
>
> @DataField(pos = 1, required = false)
> private String EAN;
I updated my
Hmm, can this be a bug perhaps?
This works:
> .marshal(new JaxbDataFormat("org.example.mypackage"))
> .when(header("foo").isEqualTo("bar"))
>
This doesn't: (Compilation error: The method when(Predicate) is undefined
for the type ProcessorDefinition)
> .marshal().jaxb("org.example.mypackage")
>
I can confirm, I get the same error as you do when I remove the two last
fields at the end of the line as you did.
I think this is the where it starts to get wrong:
BindyCsvDataFormat.java
138 // Read the line
139 String line = scanner.nextLine().trim();
String.trim(
e yet)?
Kind regards, Magnus
Den 31 mars 2012 12:05 skrev Claus Ibsen :
> 2012/3/29 Magnus Palmér :
> > I can confirm, I get the same error as you do when I remove the two last
> > fields at the end of the line as you did.
> >
> > I think this is
JIRA ticket created:
https://issues.apache.org/jira/browse/CAMEL-5133
Den 31 mars 2012 12:56 skrev Magnus Palmér :
> Sure, I can create a JIRA ticket for it.
> Will have to set up my dev-environment properly to be able to patch it
> though.
> It is in my plan to do anyway but s
Palmér :
> JIRA ticket created:
> https://issues.apache.org/jira/browse/CAMEL-5133
>
>
> Den 31 mars 2012 12:56 skrev Magnus Palmér :
>
> Sure, I can create a JIRA ticket for it.
>> Will have to set up my dev-environment properly to be able to patch it
>> though.
>
Ah, thanks, missed that one.
Den 4 april 2012 11:24 skrev Claus Ibsen :
> Hi
>
> See this FAQ
>
> http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html
>
> There is some limitations how far you can take a DSL in pure Java with
> generics
Restlet has a RDF extension, maybe that is worth looking into -
http://wiki.restlet.org/developers/172-restlet/g2/160-restlet.html
There is a chapter of it in the Restlet in Action but I haven't read it yet.
I am not into the Semantic Web any time soon anyway.
Den 5 april 2012 16:11 skrev Hadria
According to Willem Jiang it is CAMEL-5018 that fixes this and when I check
the 2.9.x branch that change doesn't seem to be in there.
Den 11 april 2012 12:22 skrev Aida :
> http://camel.465427.n5.nabble.com/file/n5632391/bindyTest.zipbindyTest.zip
>
> Here I attach my JUnit test and the BindyClas
Looking at the release note for the 2.9.2 candidate the CAMEL-5018 is not
in the fixed bugs list.
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12320143
Den 16 april 2012 01:04 skrev Magnus Palmér :
> According to Willem Jiang it is CAMEL-5018 that fix
> Do you mind if you got spare time, to try the 2.9 branch and apply the
> patch(es) from CAMEL-5018.
> And try out the use-case from Aida to see if it fixes that?
>
> And it would be nice if a JIRA ticket was created. Then we can track this.
>
> 2012/4/16 Magnus Palmér :
>
I ran into some trouble today when I changed my JUnit test to use
@RunWith(CamelSpringJUnit4ClassRunner.class) from camel-spring-test
It turned out that a transient dependency had resolved to:
org.springframework:spring-beans:jar:3.0.7.RELEASE:compile
This one was correct however:
org.springframe
In the camel-parent pom:
3.0.7.RELEASE
And in camel-test-spring pom:
3.1.1.RELEASE
Den 18 april 2012 23:12 skrev Magnus Palmér :
> I ran into some trouble today when I changed my JUnit test to use
> @RunWith(CamelSpringJUnit4ClassRunner.class) from camel-spring-test
>
> It turne
spring test?
Den 19 apr 2012 03:31 skrev "Willem Jiang" :
> There are compiling issue of camel-test-spring with spring 3.0.x, but it
> should work by just applying the jar into the class path.
> You can override the spring version in your pom this time.
>
> On Thu Apr 19 05:
I think this is actually what you are looking for, the camel-exec
component...
http://camel.apache.org/exec.html
There is even a Executing Java example in there for you.
Den 19 april 2012 15:59 skrev Gnanaguru S :
>
> Thanks Chris,
>
> Yes I guessed this could be the component. But logically I d
I don't have an issue with it since I found the work-around.
It is more that it took me a couple of hours to figure it out (probably
some of it due to inexperience since I first thought I had a problem with
my application-context).
And is Willem says it is an intermediate problem that will go away
(Not really a Camel specific question.)
What version is the WMQ queuemanager?
What version is your WMQ jar-files?
Pretty sure you can get WMQ V7 and JMS to work with RFH, you might need to
use the WMQ native Java API instead.
Are you using WMB V6 or V6.1 brokers still or why do you need a RFH?
Hello,
On Windows I do this (simplified but works):
from("direct:exec").to("exec:cmd?args=/C echo echoString" ).to("mock:exec");
That is the exec is my command interpreter, and echo is an argument to the
interpreter.
(On Windows I need the /C otherwise I just get the data from starting the
cmd.ex
After following the "Using the Restlet servlet within a webapp"
documentation at http://camel.apache.org/restlet.html I refactored my
Restlet endpoints by removing protocol, host and port.
So from "restlet:http://host:port/path/{id}"; to "restlet:/path/{id}".
This works great when running in a serv
it up to a localhost
> 8080 or whatever.
>
>
>
> On Fri, Jul 13, 2012 at 2:50 PM, Magnus Palmér
> wrote:
> > After following the "Using the Restlet servlet within a webapp"
> > documentation at http://camel.apache.org/restlet.html I refactored my
> >
Unless you are on a very old version the simple trigger will not fire when
starting the route (the fireNow property)
However if your repeat interval is small it might look like that.
What I normally use is the option of delaying the start of the Quartz
scheduler itself.
Look for "Starting the Qua
52 matches
Mail list logo