MSMQ ComponentThe msmq: component is a transport for working with Microsoft Message Queuing URI formatmsmq:msmqQueueName[?options] You can append query options to the URI in the following format, ?option=value&option=value&... Examplesmsmq:DIRECT=OS:localhost\\private$\\test?concurrentConsumers=1 msmq:DIRECT=OS:localhost\\private$\\test?deliveryPersistent=true&priority=5&timeToLive=10 Options
Using camel-msmqTo use this module you need to use the FUSE Mediation Router distribution. Or you could just add the following to your pom.xml file, substituting the version number for the latest & greatest release: <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-msmq</artifactId> <version>1.6.1.1-fuse</version> </dependency> And make sure you are pointing at the following maven repository:
<repository>
<id>open.iona.m2</id>
<name>IONA Open Source Community Release Repository</name>
<url>http://repo.open.iona.com/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
Building From SourceThe source for camel-msmq is available here: https://projects.open.iona.com/projects/svn/iona/camel/trunk/components/camel-msmq/ You'll need to register with http://open.iona.com to be able to access subversion. The full FUSE distribution is here: https://projects.open.iona.com/projects/svn/iona/camel/trunk/ See Also |