camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Mueller (Confluence)" <>
Subject [CONF] Apache Camel > Tutorial-JmsRemoting
Date Mon, 09 Sep 2013 21:26:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Tutorial-JmsRemoting</a></h2>
        <b>comment added</b> by              <a href="">Christian
    <div class="notificationGreySide">
       <p>The configuration </p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Default; brush: xml; gutter: false" style="font-size:12px; font-family:
&lt;!-- Camel JMSProducer to be able to send messages to a remote Active MQ server --&gt;
&lt;bean id="jms" class="org.apache.activemq.camel.component.ActiveMQComponent"&gt;
  &lt;property name="brokerURL" value="tcp://localhost:${tcp.port}"/&gt;
<p>sets up the connection factory under the cover.</p>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/confluence/display/~tmo"
                          class="url fn confluence-userlink" data-username="tmo"
                   >Timo Veldt</a>:</strong><br/>
        <p>It looks the Spring example for the client misses the connectionManager definition.
I had to add the following to the XML definitions.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="theme: Default; brush: xml; gutter: false"><![CDATA[
&lt;bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
	&lt;property name="brokerURL" value="tcp://localhost:${tcp.port}" /&gt;
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="">Change
email notification preferences</a>
       <a href="">View
       <a id="reply-34019562" href="">Reply
To This</a>


View raw message