camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Mueller (Confluence)" <conflue...@apache.org>
Subject [CONF] Apache Camel > Tutorial-JmsRemoting
Date Mon, 09 Sep 2013 21:26:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<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="https://cwiki.apache.org/confluence/display/CAMEL/Tutorial-JmsRemoting?focusedCommentId=34019562#comment-34019562">Tutorial-JmsRemoting</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://cwiki.apache.org/confluence/display/~muellerc">Christian
Mueller</a>
    </h4>
    <br/>
    <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:
ConfluenceInstalledFont,monospace;">
&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;
&lt;/bean&gt;
</pre>
</div></div>
<p>sets up the connection factory under the cover.</p>
    </div>

                <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;
&lt;/bean&gt;
]]></script>
</div></div>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=CAMEL">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://cwiki.apache.org/confluence/users/editmyemailsettings.action">Change
email notification preferences</a>
</div>
       <a href="https://cwiki.apache.org/confluence/display/CAMEL/Tutorial-JmsRemoting?focusedCommentId=34019562#comment-34019562">View
Online</a>
              |
       <a id="reply-34019562" href="https://cwiki.apache.org/confluence/display/CAMEL/Tutorial-JmsRemoting?replyToComment=34019562#comment-34019562">Reply
To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message