configuring a route in java

2010-06-28 Thread Mark
Hello, I am working on creating a simple route using camel and java. I have the following code: public class CamelMain { public static void main(String[] args) throws Exception { CamelContext context = new DefaultCamelContext(); ConnectionFactory connectio

Re: configuring a route in java

2010-06-29 Thread Mark
p work, > > Willem > -- > Apache Camel, Apache CXF committer > Open SOA http://www.fusesource.com > Blog http://willemjiang.blogspot.com > Tiwtter http://twitter.com/willemjiang > > Mark wrote: >> >> Hello, >> >> I am wo

Re: configuring a route in java

2010-06-29 Thread Mark
); } } On Tue, Jun 29, 2010 at 12:38 PM, James Carman wrote: > How are you sending your message?  Can we see that code? > > On Tue, Jun 29, 2010 at 11:46 AM, Mark wrote: >> I tried putting in a Thread.sleep(60*1000), but the messages still do >> not show up in the

Re: configuring a route in java

2010-06-29 Thread Mark
Nevermind. I found that I had a selector set on the MessageListener. On Tue, Jun 29, 2010 at 2:02 PM, Mark wrote: > Here is the test message sender that I am using... > > public class Sender { > >    public static final String JMS_SERVER_URL = "tcp://127.0.0.1:61616";

using a content router

2010-07-22 Thread Mark
I am interested in creating a content router in which I have message sender "A" sending messages that get transformed and then routed to two receivers. I am new to camel and want to know how I can write Routing rules and load them into ActiveMQ. I read documentation on setting up the routes, but

setting up route from client side

2010-07-26 Thread Mark
I am new to Camel and just writing some simple applications to familiarize myself with Camel. One question that I have is, is it possible to define a route for messages from the client side and push that information to ActiveMQ and have the route be used? From what I can tell all routes must be d

load a route into ActiveMQ via java

2010-07-28 Thread Mark
I am working to build a router in ActiveMQ. From what I have read I should be able to package my class in a jar file, copy the jar file into $ACTIVEMQ_HOME/lib and then restart. Here is my simple router code: public class MyRouter extends RouteBuilder { public MyRouter() throws Exception {

Re: load a route into ActiveMQ via java

2010-07-28 Thread Mark
hatever" does receive the message though. I think I still have something wrong. On Wed, Jul 28, 2010 at 1:54 PM, Claus Ibsen wrote: > On Wed, Jul 28, 2010 at 7:51 PM, Mark wrote: > > I am working to build a router in ActiveMQ. From what I have read I > should > > be able to p

Camel 2.4.0 NoClassDefFoundError org/springframework/context/SmartLifecycle / appears in camel in action too.

2010-08-08 Thread Mark
Still no joy; I have also seen this issues with the examples for camel in action. Any ideas / can someone else confirm? Kind Regards Mark

Re: Camel 2.4.0 NoClassDefFoundError org/springframework/context/SmartLifecycle / appears in camel in action too.

2010-08-09 Thread Mark
gt; Blog http://willemjiang.blogspot.com > Tiwtter http://twitter.com/willemjiang > > Mark wrote: >> >> To reproduce: >> >> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes \ >> -DarchetypeArtifactId=camel-archetype-activemq -Darche

Solved java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory Camel 2.4 / Spring 3.0.3 and Java 15 / 1.6

2010-08-09 Thread Mark
lder jaxb-impl-2.1.5.jar stax-api-1.0-2.jar activation-1.1.jar jaxb-api-2.1.jar mvn compile exec:java -Dexec.mainClass=org.apache.camel.spring.Main Everything should work fine. I hope this helps anyone who encounters a similar issue. Regards Mark

Re: Camel 2.2.0 Unmarshalling Problem

2010-09-08 Thread Mark
What JDK are you using 1.5 or 1.6? On 8 September 2010 21:24, dresden wrote: > > I may be having the same problem ... > > http://camel.465427.n5.nabble.com/JAXB-Unmarshalling-DataFormat-error-suggestions-td2814620.html#a2814620 > -- > View this message in context: > http://camel.465427.n5.nabble

Re: Solution?? JAXB Unmarshalling - DataFormat error ... suggestions?

2010-09-08 Thread Mark
JDK 1.5 or 1.6 ? On 8 September 2010 22:24, dresden wrote: > > Yes. I have an annotated class in that package that I want to "unmarshall > into". > > import javax.xml.bind.annotation.XmlElement; > import javax.xml.bind.annotation.XmlRootElement; > > @XmlRootElement(name="test") > public class Tes

Re: Camel 2.2.0 Unmarshalling Problem

2010-09-08 Thread Mark
1.6 is good. Must be another issue. On 8 September 2010 22:29, dresden wrote: > > 1.6 Apple's distro. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-2-0-Unmarshalling-Problem-tp2808344p2819013.html > Sent from the Camel - Users mailing list archive at Nabble.com

Re: camel-ibatis and NoClassDefFound

2010-09-17 Thread Mark
Darren - Great you sorted it. Burn it to CD. Then do some code-archeology at your leisure!!! On 17 September 2010 21:13, Darren Davison wrote: > Hi Willem, > > I started with a clean install of Fuse and re-deployed everything from > our features files.. the error disappeared.  It's odd because

Rider Beta

2011-02-02 Thread Mark
Am I missing something, I thought Rider was billed as being 100% Web based - so how come the first beta release comes as a plugin for Eclipse ? It's still great to see a new IDE for camel Regards Mark

unit test netty decoder

2014-01-16 Thread Mark
I have a specialized decoder that I am trying to figure out how best to unit test. I looked through the netty unit tests in the camel source code but nothing seems to do what I'm looking to do. Any thoughts?

websocket disconnect/timeout callback

2017-07-25 Thread Mark
Is there a way to set up a notification for when a client disconnects or times-out of a connection? I don't see anything in the code or docs that lead me to believe there is. Thanks, Mark

REST DSL process multipart/form-data binary file?

2017-09-29 Thread Mark
component for the restconfiguration. Thanks, Mark

Re: REST DSL process multipart/form-data binary file?

2017-09-30 Thread Mark
I understand that, problem is that I can't figure out how to configure the Camel Route to properly receive/parse the data. If I was receiving JSON/KML, this would be easy using the functionality in Camel. Binary files seem to be totally different. On Sat, Sep 30, 2017 at 8:13 PM, Mark Nu

Re: REST DSL process multipart/form-data binary file?

2017-10-01 Thread Mark
0) { > LOG.warn("No attachments found!"); > } else { > for (String key : attachments.keys()) { > LOG.info("Filename: " + key); > > String uploadKey = id + "_" + new Date().toInstant().toEpochMilli() > + "_" + > attachments.

Re: REST DSL process multipart/form-data binary file?

2017-10-02 Thread Mark
; Content-Disposition: form-data; name="dat2"; filename=„SomeOtherFile.zip" > Content-Type: application/octet-stream > > … > > > We use Camel 2.19.0 and the Undertow version Camel > (camel-undertow-starter) and/or Spring-Boot (spring-boot-starter-undertow) >

REST DSL break up multipart/form-data into parts on POST

2017-10-02 Thread Mark
I have some REST endpoints running in Servicemix 6 and Camel 2.16.2. Is it possible to receive a binary file via HTTP POST that will be broken up into the individual parts? Seems like every option I've tried only gives me a StreamCache object and I then need to split up the individual parts. The

Re: REST DSL process multipart/form-data binary file?

2017-10-02 Thread Mark
. On Mon, Oct 2, 2017 at 7:09 AM, Mark wrote: > I'm sending the data right now using the Postman app in Chrome. > > My data comes across looking like this: > > --WebKitFormBoundaryNZwE5GrXaeBuK9I9 > > Content-Disposition: form-data; name="fileUpload"

log exception message, not stack trace

2017-10-04 Thread Mark
I've been looking through the source code and documentation for this. I'd like to log the exception message to our log file and not the entire stack trace. Is this something that can be done with the current baseline or do I need to write a custom ErrorHandler?

Re: log exception message, not stack trace

2017-10-04 Thread Mark
Do you know what this option is and will all logging be turned off or just the stack trace ? On Wed, Oct 4, 2017 at 2:09 PM, Claus Ibsen wrote: > There is an option to turn off logging the stacktrace on the error > handler / onException etc > > On Wed, Oct 4, 2017 at 8:03 PM,

Re: log exception message, not stack trace

2017-10-04 Thread Mark
its file component. > > > On Wed, Oct 4, 2017 at 8:23 PM, Mark wrote: > > Do you know what this option is and will all logging be turned off or > just > > the stack trace ? > > > > > > On Wed, Oct 4, 2017 at 2:09 PM, Claus Ibsen > wrote: > > >

Re: log exception message, not stack trace

2017-10-04 Thread Mark
] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:878) On Wed, Oct 4, 2017 at 2:55 PM, Claus Ibsen wrote: > > On Wed, Oct 4, 2017 at 8:49 PM, Mark wrote: > >

camel-websocket -- how to close websocket

2017-10-17 Thread Mark
I'm using Camel 2.16, which is a part of Servicemix 6.1.1. I'm using the camel-websocket component and I'm trying to figure out how websocket connections are closed. I'm debugging my application and I'm concerned that I'm leaking websocket connections. I don't see anything in the code that indic

Re: camel-websocket -- how to close websocket

2017-10-18 Thread Mark
test code and find out what it does. > > > > On Tue, Oct 17, 2017 at 9:15 PM, Mark wrote: > > I'm using Camel 2.16, which is a part of Servicemix 6.1.1. I'm using the > > camel-websocket component and I'm trying to figure out how websocket > > conn

netty4-http increase max content length

2017-11-28 Thread Mark
I am trying to create a Camel based REST endpoint that will need to consume file uploads greater than the default 1 MB limit. I created my REST configuration using the following code: restConfiguration() .component("netty4-http") .bindingMode(RestBindingMode.off) .contextPath("whateve

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Mark
If I'm understanding your deployment correctly, you just need to make sure the proper camel bundles/features are deployed. What OSGi container are you using and what do your logs say? On Tue, Nov 28, 2017 at 12:35 PM, Claus Ibsen wrote: > Sorry for being a bit short on details, but I dont have

Jetty POST multipart parsing

2017-11-28 Thread Mark
I have a REST DSL route where I will be receiving binary files via HTTP POST. The data comes in to the Camel route, but the body contains the Boundary data, and content data like this: --WebKitFormBoundarynB8xvLY3l8fNLpcG Content-Disposition: form-data; name="filename"; filename="attachment"

Re: netty4-http increase max content length

2017-11-29 Thread Mark
}") ; After setting all of these properties I still can't upload more than a 1 MB file. Does anyone know how I can properly configure the netty4-http component to support larger files ? Thanks, Mark On Tue, Nov 28, 2017 at 11:22 AM, Mark wrote: > I am trying to create a Camel ba

Re: netty4-http increase max content length

2017-11-29 Thread Mark
Consulting > mcoch...@redhat.com > (419) 543-0531 > > On Wed, Nov 29, 2017 at 10:02 AM, Mark wrote: > > > Sorry to be a pest, I still cannot figure out how to get the netty > > component to handle more than 1 MB. I've tried all sorts of > configuration > > op

Camel websocket ping/pong

2017-12-08 Thread Mark
ent, so is that my only option? Thanks, Mark

Jetty/Camel-K classpath problems

2021-01-11 Thread mark
uot;:"camel-k.builder","msg":"dependencies: [mvn:org.apache.camel.k/camel-k-quarkus-loader-java mvn:org.apache.camel.k/camel-k-runtime-quarkus mvn:org.apache.camel/camel-jetty:3.7.0]"} Please can anyone give me some advice? I really can't find a way to get this simple Integration running, either as Java or Groovy code. Very many thanks in advance! Regards, Mark

Re: Jetty/Camel-K classpath problems

2021-01-11 Thread mark
uot;:"camel-k.builder","msg":"dependencies: [mvn:org.apache.camel.k/camel-k-quarkus-loader-java mvn:org.apache.camel.k/camel-k-runtime-quarkus mvn:org.apache.camel/camel-jetty:3.7.0]"} Please can anyone give me some advice? I really can't find a way to get this si

Re: Jetty/Camel-K classpath problems

2021-01-11 Thread mark
This works! Thank you very much Nicola! Regards, Mark On Mon, 11 Jan 2021 at 17:04, Nicola Ferraro wrote: > Hi, > since 1.2 Camel K has moved into using Quarkus as runtime (in 1.3 the old > runtime based on main has been removed). So now it's recommended to use the > Quar

Camel-K / Kafka / Avro: something broke overnight

2021-01-14 Thread mark
rg.apache.camel.quarkus/camel-quarkus-kafka:1.5.0 // camel-k: dependency=mvn:org.apache.avro/avro:1.10.1 // camel-k: dependency=mvn:org.glassfish.jersey.core/jersey-common:2.22.2 // camel-k: dependency=mvn:io.apicurio/apicurio-registry-utils-serde:1.3.2.Final Many thanks in advance, Regards, Mark

Re: Camel-K / Kafka / Avro: something broke overnight

2021-01-15 Thread mark
k you for confirming the regression, and for preparing a fix. Regards, Mark On Fri, 15 Jan 2021 at 09:23, Omar Al-Safi wrote: > Hi Mark, > > indeed it looks like the additionalProperties option is broken in 3.7.0. I > am pushing a fix for both branches, 3.7.x and master branch. &g

Re: Connecting remotely via JMX

2013-08-22 Thread Mark
How is that done using Java DSL? I am doing "mvn exec:java". On Thu, Aug 22, 2013 at 2:08 AM, Claus Ibsen wrote: > Hi > > Did you configure the JMX settings before you started CamelContext? > This is needed for it to have effect. > > > On Wed, Aug 21, 2013 at 7:07 PM, Tyler Durvik wrote: > >

Camel-jetty and hawt.io

2013-09-10 Thread Mark
I have some Camel routes that I have running in a standalone java app, and I'd like to embed hawt in the JVM. Is it possible to do since Camel and Hawt will want their own jetty instance running in the JVM? Thanks in advance, Mark

Re: Camel-jetty and hawt.io

2013-09-11 Thread Mark
There may be a larger problem WRT dependencies though. Is there a way to embed hawt into an existing jetty instance programatically? On Wed, Sep 11, 2013 at 6:30 AM, James Strachan wrote: > On 11 September 2013 03:04, Mark wrote: > > I have some Camel routes that I have run

Re: Camel-jetty and hawt.io

2013-09-11 Thread Mark
Then what? I added the dependency to the pom.xml. I can't find any documentation and what the next step would be. On Wed, Sep 11, 2013 at 10:16 AM, James Strachan wrote: > On 11 September 2013 15:11, Mark wrote: > > > There may be a larger problem WRT dependencies though

Re: Failed to connect using Camel + RabbitMq Configuration

2012-10-31 Thread Mark
I have had better success with https://github.com/Bluelock/camel-spring-amqp On Mon, Oct 22, 2012 at 10:31 AM, Willem jiang wrote: > > We only have some unit tests on AMPQ :( > -- > Willem Jiang > > Red Hat, Inc. > FuseSource is now part of Red Hat > Web: http://www.fusesource.com | http://www.

Re: Problem with calling a simple POJO after a route

2013-01-09 Thread Mark
How can I keep the CamelContext running after I call start() in a standalone java application? Thread.sleep(xxx) does not seem to be an adequate solution for a production system. On Tue, Jan 8, 2013 at 9:40 AM, Meriem wrote: > I tried with : > > CamelContext context = new DefaultCamelContext()

Simple Dir Polling Has me stumped

2011-09-30 Thread Mark
Hi I would like to: a) Poll a directory b) Read some meta data about a file in that directory (e.g. length) Repeat (infered by the Poll) i.e. just watching out for filemeta data changing over time. I though this would work. camelContext.addRoutes(new RouteBuilder() {

Re: Simple Dir Polling Has me stumped

2011-09-30 Thread Mark
ole propertiesquit tracing uptime There's loads of potential I hacked it together - but I think this should be in the framework ? On 30 September 2011 13:20, Claus Ibsen wrote: > On Fri, Sep 30, 2011 at 2:15 PM, Mark wrote: >> Hi >> >> I w

REST DSL bind mode per endpoint

2016-06-07 Thread Mark
I have a REST API that ingests XML via a POST endpoint and I also have an endpoint that will produce text/plain via GET. Is it possible to have the POST endpoint use JAXB and the GET endpoint produce text/plain? So for instance, I would like to have the following: Status service

Re: REST DSL bind mode per endpoint

2016-06-08 Thread Mark
figured it out. You can specify this per get/post..etc. On Tue, Jun 7, 2016 at 11:51 PM, Mark wrote: > I have a REST API that ingests XML via a POST endpoint and I also have an > endpoint that will produce text/plain via GET. Is it possible to have the > POST endpoint use JAXB an

Return contents of a file in a route

2016-08-18 Thread Mark
I want to be able to simulate a system that I'm integrating with. I'd like a route to return the contents of a file in a REST DSL route. Is it possible to do this in Camel? This is what I'd like to do: restConfiguration() .component("jetty") .host("localhost") .port(1234) .bindingMo

Re: Return contents of a file in a route

2016-08-18 Thread Mark
his as a test stub to deploy for others to use or > is this something you want to test during unit tests only? You can use > mocks or other mechanism for that. If you put some .log("${body}") before > and after that .from what do you see? > > Brad > > On Thu, A

Re: Return contents of a file in a route

2016-08-18 Thread Mark
auses it to load and then also log it. The logger may be smart > enough when it sees the body is a file to load it but I don't know that > without looking at the code. > > On Thu, Aug 18, 2016 at 2:20 PM, Mark wrote: > > > but then why would .log("${body}") p

Re: Return contents of a file in a route

2016-08-18 Thread Mark
bably have to > put a transform/simple to get the contents but I don't recall off the top > of my head. > > On Thu, Aug 18, 2016 at 2:00 PM, Mark wrote: > > > Actually, it is working when I use .log("${body}"). It prints out the > > contents of the file. > >

PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
I have a PropertyPlaceholder defined in my Blueprint file and in my blueprint file I define the package that contains my Java DSL routes. It looks something like this: http://camel.apache.org/schema/blueprint";> com.a.b.c.d My routes connects to an external system, so

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
yes it is. On Tue, Aug 23, 2016 at 10:41 PM, Brad Johnson wrote: > Is the my-config in the etc directory? As my-config.cfg? > > Brad > > On Tue, Aug 23, 2016 at 9:17 PM, Mark wrote: > > > I have a PropertyPlaceholder defined in my Blueprint file and in my > &g

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-23 Thread Mark
) aren't getting reloaded with the information in ConfigAdmin when its changed and its only loaded at start time. Maybe someone smarter than I with Camel can confirm that. On Tue, Aug 23, 2016 at 10:48 PM, Mark wrote: > yes it is. > > > On Tue, Aug 23, 2016 at 10:41 PM, B

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-24 Thread Mark
I agree. Its working, leave it alone. Maybe someday I'll port the Java DSL to XML. I did check and I'm using version 1.1 of the blueprint CM. Thanks, Mark On Wed, Aug 24, 2016 at 10:11 AM, Brad Johnson wrote: > If the update strategy is working you shouldn't have to

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
Neither. Maybe that's the problem. On Wed, Aug 24, 2016 at 3:18 PM, Brad Johnson wrote: > Hmm. I'll have to give it a shot and see if it works for me in Fuse. Are > you using PropertyInject for that or just getter/setter? > > Brad > > On Wed, Aug 24, 2016 at 10

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
Found the problem. You can't have a dash "=" in your config file. Once I removed it, everything worked. On Thu, Aug 25, 2016 at 12:32 PM, Mark wrote: > Neither. Maybe that's the problem. > > > On Wed, Aug 24, 2016 at 3:18 PM, Brad Johnson < > brad.jo

Re: PropertyPlaceholder with Java DSL in OSGi Blueprint

2016-08-25 Thread Mark
ame. For the final name I > generally use the group Id and artifactId. > > On Thu, Aug 25, 2016 at 7:07 PM, Mark wrote: > > > Found the problem. You can't have a dash "=" in your config file. Once I > > removed it, everything worked. > >

Websocket over HTTP connection

2016-09-26 Thread Mark
e any experience with doing this and getting websockets over HTTP working? Thanks, Mark

Re: Websocket over HTTP connection

2016-09-26 Thread Mark
Just as a follow-up, I understand that websockets runs over HTTP with and upgraded HTTP connection but the javascript code will only accept specific URLS. On Mon, Sep 26, 2016 at 11:32 AM, Mark wrote: > > I am working to set up a websocket server using Apache Camel. My > requiremen

send same message to multiple, not all, websocket clients

2016-10-18 Thread Mark
I am receiving messages of data that I am processing with Camel, similar to a chat system. Clients may "subscribe" to the data feed which will require me to send the messages to the clients that subscribe to that message type over websockets. How can I implement this websocket communication using

Re: send same message to multiple, not all, websocket clients

2016-10-19 Thread Mark
On Wed, Oct 19, 2016 at 1:20 AM, wrote: > Hi Mark, > you have to keep connection keys from each client in a map or list, > then you need to send same data to the producer with different connection > key. > > here is how you can get the connection key from each client. when

route message based on system property

2016-11-02 Thread Mark
I would like the ability to route a message based on the value of a property contained in a property file. My route receives data and in some debugging situations I'd like to write the data to disk. So if I set a property in a config file I would like files to be written to disk using the "file"

mutually-authenticated SSL with websockets

2016-12-13 Thread Mark
I have a requirement for mutually-authenticated SSL with a websocket. Does the Camel-Websocket component support this functionality? According to the camel websocket page, the SSL params are for consumers only which makes me think that 2-way SSL isn't supported. Cheers, Mark

Camel 2.16.2 - No org.apache.qpid.jms.JmsConnectionFactory

2017-02-17 Thread Mark
I am building a route using the camel-amqp component and I'm following the example from http://camel.apache.org/amqp.html. When I start up my camel route I get the following exception. Is there another dependency I'm missing? I've added camel-core and camel-amqp to my pom.xml. java.lang.reflect

Re: Camel 2.16.2 - No org.apache.qpid.jms.JmsConnectionFactory

2017-02-17 Thread Mark
That works. Thanks Tomo. FYI, I tried 2.18.2 and did not have the dependency problem. On Fri, Feb 17, 2017 at 10:29 AM, Tomohisa Igarashi wrote: > Hi, > > Can you try adding org.apache.qpid:qpid-jms-client? > > Thanks, > Tomo > > > On 02/18/2017 12:08 AM, Mark

Installing camel-amqp in ServiceMix 6.1.1

2017-02-21 Thread Mark
n ServiceMix and I still get the same problem. I followed what Tomohisa suggested in the camel user thread here: http://camel.465427.n5.nabble.com/Camel-2-16-2-No-org-apache-qpid-jms-JmsConnectionFactory-td5794045.html And I'm getting no where. Any ideas on how to get camel-amqp 2.16.2 working in OSGi. Thanks, Mark

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-21 Thread Mark
qp-1-0-client-jms > > On Tue, Feb 21, 2017 at 7:27 PM, Mark Webb [via Camel] < > ml-node+s465427n5794214...@n5.nabble.com> wrote: > > > Not sure if this should be posted here or the servicemix users forum, but > > I'm trying to install camel-amqp in ServiceMix 6.1.1,

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-21 Thread Mark
and then the > camel-amqp as a feature. > > On Tue, Feb 21, 2017 at 10:10 PM, Mark Webb [via Camel] < > ml-node+s465427n5794219...@n5.nabble.com> wrote: > > > I believe you are correct. The problem with the wrapping of a jar into a > > bundle is that you often lose the

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-21 Thread Mark
(Oracle Corporation) Manifest-Version = 1.0 Bnd-LastModified = 1487705842802 Generated-By-Ops4j-Pax-From = wrap:file:/home/mark/temp/apache-servicemix-6.1.1/deploy/qpid-amqp-1-0-client-jms-0.28.jar$Bundle-SymbolicName=qpid-amqp-1-0-client-jms&Bundle-Version=0.28 Tool = Bnd-2.3.0.20140

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-21 Thread Mark
.qpid/qpid-amqp-1-0-client/0.20 > > Run a bundle list to ensure the bundle is properly installed. Can verify in > the logs. Only then add the camel-amqp. > > On Tue, Feb 21, 2017 at 10:49 PM, Mark Webb [via Camel] < > ml-node+s465427n579422...@n5.nabble.com> wrote: > >

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-22 Thread Mark
netty-common-4.0.41.Final.jar netty-handler-4.0.41.Final.jar netty-transport-4.0.41.Final.jar proton-j-0.14.0.jar qpid-jms-client-0.11.1.jar On Tue, Feb 21, 2017 at 9:23 PM, Mark wrote: > From the karaf prompt I do a "list" and get the following: > > 237 |

handle multiple JSON formats in same route

2017-03-03 Thread Mark
I have an incoming route that will be processing a bunch of different JSON message types, does the Camel Data Format subsystem support a way to determine which type a JSON message is and then unmarshal the incoming string to the proper object?

Re: handle multiple JSON formats in same route

2017-03-03 Thread Mark
I agree. JSONPath is a good solution. Thank you all. On Fri, Mar 3, 2017 at 8:22 AM, jasenj1 wrote: > Right. JSONPath is probably a better choice. > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/handle-multiple-JSON-formats-in-same-route-tp5794737p5794747.html

mongodb distinct query

2017-05-04 Thread Mark
I'm trying to figure out if Camel supports distinct queries with the mongodb component. I've looked through the docs and source code and cannot see where that is supported. Is this functionality supported in the camel-mongodb component and I just don't see it? Cheers, Mark

Re: mongodb distinct query

2017-05-09 Thread Mark
ou are welcome to see what it takes to add > support for that. > http://camel.apache.org/contributing > > On Thu, May 4, 2017 at 7:14 AM, Mark wrote: > > I'm trying to figure out if Camel supports distinct queries with the > > mongodb component. I've looked through

Re: mongodb distinct query

2017-05-10 Thread Mark
Claus, I created a ticket in JIRA and submitted a patch. Let me know if there's anything more I can do to support this functionality. https://issues.apache.org/jira/browse/CAMEL-11259 Cheers, Mark On Tue, May 9, 2017 at 7:15 AM, Mark wrote: > Thanks Claus, I'm going to try and

how to unit test a Java Route which uses a property-placeholder

2017-05-16 Thread Mark
I have a class that extends RouteBuilder and loaded from a blueprint file using the tag. In my blueprint file I also use property-placeholder to set some values for the routes. I would like to unit test my class but I cannot figure out how to inject the properties. Is there a way to do this that

inject OSGi service into Camel Route

2017-06-15 Thread Mark
hat I can use this service in my Camel Route. Thanks, Mark

Re: inject OSGi service into Camel Route

2017-06-16 Thread Mark
ntext individually. I looked through the camel source code and cannot find an instance where you can pass multiple RouteBuilder instances into a context but I'll try it. Cheers, Mark On Fri, Jun 16, 2017 at 4:52 AM, Bart Horré wrote: > Hi, > > in the below code example you'll find a blu

Camel Twitter WebSocket Blueprint example - cert issue in DDF 2.8.1

2016-01-05 Thread Mark
I was trying to deploy the camel-example-twitter-websocket-blueprint example in DDF 2.8.1 (uses Karaf version 2.4.3) and I get the exception shown below. I'm not sure if anyone has experienced this and may know how to get this bundle working inside OSGi with the proper Twitter certificate informat

Re: Camel Twitter WebSocket Blueprint example - cert issue in DDF 2.8.1

2016-01-05 Thread Mark
own twitter account, not the one from the source > code, its only for fun and demo. > > See the box on this page > http://camel.apache.org/twitter-websocket-example.html > > On Tue, Jan 5, 2016 at 4:55 PM, Mark wrote: > > I was trying to deploy the camel-example-twitter-webs

Re: Camel Twitter WebSocket Blueprint example - cert issue in DDF 2.8.1

2016-01-05 Thread Mark
That's true, I am using 2.14.2, which is what the latest version (2.8.1) of DDF is using. I will try updating the Camel libs in DDF to the latest. Thanks, Mark On Tue, Jan 5, 2016 at 11:54 AM, Claus Ibsen wrote: > You may need to upgrade camel as it may use an old twitter library &g

Re: Camel Twitter WebSocket Blueprint example - cert issue in DDF 2.8.1

2016-01-06 Thread Mark
, 2016 at 12:10 PM, Mark wrote: > That's true, I am using 2.14.2, which is what the latest version (2.8.1) > of DDF is using. > > I will try updating the Camel libs in DDF to the latest. > > Thanks, > Mark > > > On Tue, Jan 5, 2016 at 11:54 AM, Claus Ibsen > wro

Instagram Component ?

2016-03-25 Thread Mark
I'm wondering if there is an Instagram component in Camel. If not I'd like to start work on one and can submit a pull request back to the baseline.

Re: Instagram Component ?

2016-03-27 Thread Mark
do not have such a component. And it would be great to have one. > > We love contributions > http://camel.apache.org/contributing > > > On Fri, Mar 25, 2016 at 7:49 PM, Matt Sicker wrote: > > No, there isn't an official component, and I don't see any third party >

Re: Instagram Component ?

2016-03-31 Thread Mark
arch 2016 at 02:56, Mark wrote: > > I'm currently investigating whether to use a 3rd party Java Instagram API > > or write one from scratch for this component. None that I've found work > > really well and have an Apache-friendly license. > > > > > &g

Re: Instagram Component ?

2016-03-31 Thread Mark
ew component here > http://camel.apache.org/add-new-component-guide.html > > On Thu, Mar 31, 2016 at 12:44 PM, Mark wrote: > > I have been evaluating jinstagram. Is the MIT license compatible for > > inclusion into Apache Camel? > > > > > > > >

Re: Instagram Component ?

2016-04-04 Thread Mark
gt; Will be nice to have one. > > B. > > On 28 March 2016 at 02:56, Mark wrote: > > I'm currently investigating whether to use a 3rd party Java Instagram API > > or write one from scratch for this component. None that I've found work > > really well and have

Using Policy to alter Definitions before building

2010-07-05 Thread Mark Proctor
As well as using Policy to wrap the child processors, I'd like to be able to change/augment the child definitions before they are built. My current use case for this is so I can augment the DataFormats, with additional configurations. Additionally this Policy also takes care of setting the current

Re: Using Policy to alter Definitions before building

2010-07-05 Thread Mark Proctor
On 05/07/2010 16:32, Claus Ibsen-2 [via Camel] wrote: > Hi > > Have you looked at org.apache.camel.spi.InterceptStrategy? Looking at the code, the child Processor instance is already created, so I'm not sure it would be safe to change the child definitions? Mark > > > O

content router to one or many destinations

2010-08-06 Thread Mark Webb
ossible using a content router or is there another way to do it? Thanks, Mark

listener on intermediate queue

2010-08-09 Thread Mark Webb
"jms:queue:creditResponseQueue" and seeing what is going on so that other destinations in the system do not get all of the information and screw up the system? Mark

content based routing based on header value

2010-08-10 Thread Mark Webb
ion book and the camel website and cannot find anything. Thanks, Mark

request / response example

2010-08-11 Thread Mark Webb
amel example: This seems to work, but it doesn't seem right to me that I need a "from" and "to". Plus I get a org.apache.camel.ExchangeTimedOutException: exception on each message. Thanks for any help you have, Mark

Re: content based routing based on header value

2010-08-12 Thread Mark Webb
I see that the latest MEAP of Camel In Action answers this question in the first page of Appendix A. On Tue, Aug 10, 2010 at 11:56 AM, Claus Ibsen wrote: > On Tue, Aug 10, 2010 at 5:42 PM, Mark Webb wrote: >> I am setting up a route in XML and want to send messages to a >> desti

  1   2   3   4   >