Author: chirino
Date: Mon Jan 15 21:20:49 2007
New Revision: 496591

URL: http://svn.apache.org/viewvc?view=rev&rev=496591
Log:
Latest export from confluence

Added:
    incubator/servicemix/site/copy-of-hello-world-bc.data/
    
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png
   (with props)
    
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
   (with props)
    incubator/servicemix/site/hello-world-bc.data/
    incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png 
  (with props)
    
incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
   (with props)
    incubator/servicemix/site/hello-world-bc.html
Modified:
    incubator/servicemix/site/copy-of-hello-world-bc.html
    
incubator/servicemix/site/roadmap-for-a-perspective-servicemix-developer.html
    incubator/servicemix/site/sandbox.html
    incubator/servicemix/site/tutorials.html

Added: 
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png?view=auto&rev=496591
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg?view=auto&rev=496591
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/copy-of-hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/servicemix/site/copy-of-hello-world-bc.html
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/copy-of-hello-world-bc.html?view=diff&rev=496591&r1=496590&r2=496591
==============================================================================
--- incubator/servicemix/site/copy-of-hello-world-bc.html (original)
+++ incubator/servicemix/site/copy-of-hello-world-bc.html Mon Jan 15 21:20:49 
2007
@@ -216,7 +216,7 @@
 
 <P>The focus of this section is on the creation of a JBI binding component. 
For this task, a <SPAN class="nobr"><A 
href="http://maven.apache.org/guides/introduction/introduction-to-archetypes.html";
 title="Visit page outside Confluence" rel="nofollow">Maven archetype<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> will 
be used to create a Maven project skeleton to house the component. Maven 
archetypes are templates for Maven projects that jumpstart project creation via 
the automation of repetitive tasks by following standard conventions. The 
result of using an archetype to create a Maven project is a directory 
structure, a <SPAN class="nobr"><A 
href="http://maven.apache.org/guides/introduction/introduction-to-the-pom.html"; 
title="Visit page outside Confluence" rel="nofollow">Maven POM<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/lin
 kext7.gif" height="0" width="0" align="absmiddle" alt="" 
border="0"></SUP></A></SPAN> file and, depending on the archetype being used, 
sometimes Java objects and JUnit tests. </P>
 
-<P>Below are the steps to follow for creating the directory structure and 
project. All instructions laid out to take place on a Unix command-line. </P>
+<P>Below are the steps to follow for creating the directory structure and 
project. All instructions are laid out to take place on a Unix command-line. 
</P>
 
 <P>1) Create a directory named <TT>hello-world-smx</TT> and switch to that 
directory: </P>
 
@@ -331,7 +331,7 @@
 <PRE class="code-java">C:\Documents and 
Settings\&lt;USERNAME&gt;\.m2\repository\org\apache\maven\plugins\maven-archetype-plugin</PRE>
 </DIV></DIV> 
 
-<P>In case the only version available of the maven-archetype-plugin is an 
older one, a minimal <TT>pom.xml</TT> file will need to be created manually in 
the <TT>hello-world-se-su</TT> directory. Below is a simple POM to use for this 
purpose: </P>
+<P>In case the only version available of the maven-archetype-plugin is an 
older one, a minimal <TT>pom.xml</TT> file will need to be created manually in 
the <TT>hello-world-bc-su</TT> directory. Below is a simple POM to use for this 
purpose: </P>
 
 <DIV class="code"><DIV class="codeHeader"><B>Minimal pom.xml</B></DIV><DIV 
class="codeContent">
 <PRE class="code-java">&lt;?xml version=<SPAN 
class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN 
class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;
@@ -341,7 +341,7 @@
 </SPAN>    
   &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
   &lt;groupId&gt;org.apache.servicemix.samples.helloworld&lt;/groupId&gt;
-  &lt;artifactId&gt;hello-world-se-su&lt;/artifactId&gt;
+  &lt;artifactId&gt;hello-world-bc-su&lt;/artifactId&gt;
   &lt;packaging&gt;pom&lt;/packaging&gt;
   &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
 
@@ -372,75 +372,81 @@
 
 <DIV class="preformatted"><DIV class="preformattedContent">
 <PRE>[INFO] Scanning for projects...
+[INFO] artifact org.apache.servicemix.tooling:jbi-maven-plugin: checking for 
updates from apache.incubating
 [INFO] 
----------------------------------------------------------------------------
 [INFO] Building A custom project
 [INFO]    task-segment: [install]
 [INFO] 
----------------------------------------------------------------------------
-[INFO] [xbean:mapping {execution: default}]
-Checking: org.apache.servicemix.samples.helloworld.se.MyComponent
-Checking: org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] Generating META-INF properties file: 
-/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/services/org/apache/xbean/spring/http/org.apache.servicemix.samples.helloworld.se/1.0
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 handler mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.handlers
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 schema mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.schemas
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating HTML documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating XSD file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating WIKI documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.wiki
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-Warning, could not load class: 
org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] ...done.
+[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for 
updates from apache.incubating
+Downloading: 
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
+[WARNING] Unable to get resource from repository apache.incubating 
(http://people.apache.org/repo/m2-incubating-repository)
 Downloading: 
http://repo.mergere.com/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
 [WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
+Downloading: 
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
+[WARNING] Unable to get resource from repository apache.incubating 
(http://people.apache.org/repo/m2-incubating-repository)
 Downloading: http://repo.mergere.com/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
 [WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
+[INFO] [xbean:mapping {execution: default}]
+Checking: org.apache.servicemix.samples.helloworld.MyComponent
+Checking: org.apache.servicemix.samples.helloworld.MyConsumerEndpoint
+Checking: org.apache.servicemix.samples.helloworld.MyProviderEndpoint
+[INFO] Generating META-INF properties file: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/META-INF/services/org/apache/xbean/spring/http/
+org.apache.servicemix.samples.helloworld/1.0 for namespace: 
http://org.apache.servicemix.samples.helloworld/1.0
+[INFO] Generating Spring 2.0 handler mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/META-INF/spring.handlers
 
+for namespace: http://org.apache.servicemix.samples.helloworld/1.0
+[INFO] Generating Spring 2.0 schema mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/META-INF/spring.schemas
 
+for namespace: http://org.apache.servicemix.samples.helloworld/1.0
+[INFO] Generating HTML documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/hello-world-bc-su.xsd.html
 
+for namespace: http://org.apache.servicemix.samples.helloworld/1.0[INFO] 
Generating XSD file: 
+/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/hello-world-bc-su.xsd
 
+for namespace: http://org.apache.servicemix.samples.helloworld/1.0
+[INFO] Generating WIKI documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/hello-world-bc-su.xsd.wiki
 
+for namespace: http://org.apache.servicemix.samples.helloworld/1.0Warning, 
could not load class: org.apache.servicemix.samples.helloworld.MyEndpointType: 
java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.MyEndpointType
+[INFO] ...done.
 [INFO] [jbi:generate-jbi-component-descriptor]
 [INFO] Generating jbi.xml
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:compile]
-Compiling 3 source files to 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/classes
+Compiling 5 source files to 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/classes
 [INFO] [resources:testResources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:testCompile]
-Compiling 1 source file to 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/test-classes
+Compiling 1 source file to 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/test-classes
 [INFO] [surefire:test]
-[INFO] Surefire report directory: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/surefire-reports
+[INFO] Surefire report directory: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/surefire-reports
 
 -------------------------------------------------------
  T E S T S
 -------------------------------------------------------
-Running org.apache.servicemix.samples.helloworld.se.MySpringComponentTest
-&lt;hello&gt;world&lt;/hello&gt;
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.843 sec
+Running org.apache.servicemix.samples.helloworld.MySpringComponentTest
+log4j:WARN No appenders could be found for logger 
(org.springframework.core.CollectionFactory).
+log4j:WARN Please initialize the log4j system properly.
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.52 sec
 
 Results :
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
 
 [INFO] [jar:jar]
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
+[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/hello-world-bc-su-1.0-SNAPSHOT.jar
 [INFO] [jbi:jbi-component]
-[INFO] Generating installer 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
+[INFO] Generating installer 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/hello-world-bc-su-1.0-SNAPSHOT-installer.zip
+[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/hello-world-bc-su-1.0-SNAPSHOT-installer.zip
 [INFO] [install:install]
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.jar
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.xsd
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-schema.html
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-installer.zip
+[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/hello-world-bc-su-1.0-SNAPSHOT.jar
 to 
+/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-bc-su/1.0-SNAPSHOT/hello-world-bc-su-1.0-SNAPSHOT.jar
+[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/hello-world-bc-su.xsd
 to 
+/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-bc-su/1.0-SNAPSHOT/hello-world-bc-su-1.0-SNAPSHOT.xsd
+[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/xbean/hello-world-bc-su.xsd.html
 to 
+/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-bc-su/1.0-SNAPSHOT/hello-world-bc-su-1.0-SNAPSHOT-schema.html
+[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-bc-su/target/hello-world-bc-su-1.0-SNAPSHOT-installer.zip
 to 
+/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-bc-su/1.0-SNAPSHOT/hello-world-bc-su-1.0-SNAPSHOT-installer.zip
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD SUCCESSFUL
 [INFO] ------------------------------------------------------------------------
-[INFO] Total time: 41 seconds
-[INFO] Finished at: Mon Jan 15 13:06:03 MST 2007
-[INFO] Final Memory: 12M/26M
+[INFO] Total time: 16 seconds
+[INFO] Finished at: Mon Jan 15 21:47:51 MST 2007
+[INFO] Final Memory: 13M/31M
 [INFO] ------------------------------------------------------------------------
 </PRE>
 </DIV></DIV>
@@ -467,7 +473,17 @@
 
 
 <UL>
-       <LI><TT>MyEndpoint.java</TT> - Extends <SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java?r=trunk";
 title="Visit page outside Confluence" 
rel="nofollow"><TT>Endpoint</TT><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and implements 
<SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/ExchangeProcessor.java?r=trunk";
 title="Visit page outside Confluence" 
rel="nofollow"><TT>ExchangeProcessor</TT><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. 
<TT>Endpoint</TT> provides a referencable resource for the component and the 
<TT>ExchangeProcessor</TT> p
 rovides the ability for the JBI container to process a message exchange with 
the component. The <TT>ExchangeProcessor.process()</TT> method is where we will 
add custom functionality to print out the Hello World message.</LI>
+       <LI><TT>MyConsumerEndpoint.java</TT> - Extends <SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/endpoints/ConsumerEndpoint.java?r=trunk";
 title="Visit page outside Confluence" 
rel="nofollow"><TT>ConsumerEndpoint</TT><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and implements 
<TT>MyEndpointType</TT>.</LI>
+</UL>
+
+
+<UL>
+       <LI><TT>MyEndpointType.java</TT> -</LI>
+</UL>
+
+
+<UL>
+       <LI><TT>MyProviderEndpoint.java</TT> - Extends <SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/endpoints/ProviderEndpoint.java?r=trunk";
 title="Visit page outside Confluence" 
rel="nofollow"><TT>ProviderEndpoint</TT><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and implements 
<TT>MyEndpointType</TT>.</LI>
 </UL>
 
 
@@ -488,115 +504,11 @@
 <TABLE cellpadding="5" width="85%" cellspacing="8px" class="noteMacro" 
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD 
valign="top"><IMG 
src="http://goopen.org/confluence/images/icons/emoticons/warning.gif"; 
width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B 
class="strong">Using an IDE</B><BR>
 <P>It is at this stage that you should employ the use of an IDE. An IDE can 
dramatically reduce the work necessary to import clases, override methods and 
so much more. Because Maven can generate project files for Eclipse and IntelliJ 
IDEA, either one can be used. Throughout this tutorial, Eclipse will be used. 
To generate project files for Eclipse, execute the Maven 
<TT>eclipse:eclipse</TT> goal and then import the project into your Eclipse 
IDE. </P></TD></TR></TABLE>
 
-<P>When creating a JBI component, how a message exchange is handled depends on 
whether a component is a consumer or a provider. Because the Hello World SE 
will not be consuming any other service (i.e., sending a message to another 
service), it is a provider (i.e., it will only be providing its service via a 
return message). As mentioned above, the <TT>ExchangeProcessor.process()</TT> 
method is of interest because it is where the message exchange is handled, so 
let&apos;s examine this method: </P>
-
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> void 
process(MessageExchange exchange) <SPAN class="code-keyword">throws</SPAN> 
Exception {
-        <SPAN class="code-comment">// The component acts as a provider, <SPAN 
class="code-keyword">this</SPAN> means that another component has requested our 
service
-</SPAN>        <SPAN class="code-comment">// As <SPAN 
class="code-keyword">this</SPAN> exchange is active, <SPAN 
class="code-keyword">this</SPAN> is either an in or a fault (out are send by 
<SPAN class="code-keyword">this</SPAN> component)
-</SPAN>        <SPAN class="code-keyword">if</SPAN> (exchange.getRole() == 
MessageExchange.Role.PROVIDER) {
-            <SPAN class="code-comment">// Check here <SPAN 
class="code-keyword">if</SPAN> the mep is supported by <SPAN 
class="code-keyword">this</SPAN> component
-</SPAN>            <SPAN class="code-keyword">if</SPAN> (exchange <SPAN 
class="code-keyword">instanceof</SPAN> InOut == <SPAN 
class="code-keyword">false</SPAN>) {
-               <SPAN class="code-keyword">throw</SPAN> <SPAN 
class="code-keyword">new</SPAN> UnsupportedOperationException(<SPAN 
class="code-quote">&quot;Unsupported MEP: &quot;</SPAN> + 
exchange.getPattern());
-            }
-            <SPAN class="code-comment">// In message
-</SPAN>            <SPAN class="code-keyword">if</SPAN> 
(exchange.getMessage(<SPAN class="code-quote">&quot;in&quot;</SPAN>) != <SPAN 
class="code-keyword">null</SPAN>) {
-                NormalizedMessage in = exchange.getMessage(<SPAN 
class="code-quote">&quot;in&quot;</SPAN>);
-                <SPAN class="code-comment">// TODO ... handle the in message
-</SPAN>                <SPAN class="code-comment">// If the MEP is an InOnly, 
RobustInOnly, you have to set the exchange to DONE status
-</SPAN>                <SPAN class="code-comment">// <SPAN 
class="code-keyword">else</SPAN>, you have to create an Out message and 
populate it
-</SPAN>                <SPAN class="code-comment">// For now, just echo back
-</SPAN>                NormalizedMessage out = exchange.createMessage();
-                out.setContent(in.getContent());
-                exchange.setMessage(out, <SPAN 
class="code-quote">&quot;out&quot;</SPAN>);
-                channel.send(exchange);
-            <SPAN class="code-comment">// Fault message
-</SPAN>            } <SPAN class="code-keyword">else</SPAN> <SPAN 
class="code-keyword">if</SPAN> (exchange.getFault() != <SPAN 
class="code-keyword">null</SPAN>) {
-                <SPAN class="code-comment">// TODO ... handle the fault
-</SPAN>                exchange.setStatus(ExchangeStatus.DONE);
-                channel.send(exchange);
-            <SPAN class="code-comment">// This is not compliant with the <SPAN 
class="code-keyword">default</SPAN> MEPs
-</SPAN>            } <SPAN class="code-keyword">else</SPAN> {
-                <SPAN class="code-keyword">throw</SPAN> <SPAN 
class="code-keyword">new</SPAN> IllegalStateException(<SPAN 
class="code-quote">&quot;Provider exchange is ACTIVE, but no in or fault is 
provided&quot;</SPAN>);
-            }
-        <SPAN class="code-comment">// The component acts as a consumer, <SPAN 
class="code-keyword">this</SPAN> means <SPAN class="code-keyword">this</SPAN> 
exchange is received because
-</SPAN>        <SPAN class="code-comment">// we sent it to another component.  
As it is active, <SPAN class="code-keyword">this</SPAN> is either an out or a 
fault
-</SPAN>        <SPAN class="code-comment">// If <SPAN 
class="code-keyword">this</SPAN> component does not create / send exchanges, 
you may just <SPAN class="code-keyword">throw</SPAN> an 
UnsupportedOperationException
-</SPAN>        } <SPAN class="code-keyword">else</SPAN> <SPAN 
class="code-keyword">if</SPAN> (exchange.getRole() == 
MessageExchange.Role.CONSUMER) {
-            <SPAN class="code-comment">// Exchange is finished
-</SPAN>            <SPAN class="code-keyword">if</SPAN> (exchange.getStatus() 
== ExchangeStatus.DONE) {
-                <SPAN class="code-keyword">return</SPAN>;
-            <SPAN class="code-comment">// Exchange has been aborted with an 
exception
-</SPAN>            } <SPAN class="code-keyword">else</SPAN> <SPAN 
class="code-keyword">if</SPAN> (exchange.getStatus() == ExchangeStatus.ERROR) {
-                <SPAN class="code-keyword">return</SPAN>;
-            <SPAN class="code-comment">// Exchange is active
-</SPAN>            } <SPAN class="code-keyword">else</SPAN> {
-                <SPAN class="code-comment">// Out message
-</SPAN>                <SPAN class="code-keyword">if</SPAN> 
(exchange.getMessage(<SPAN class="code-quote">&quot;out&quot;</SPAN>) != <SPAN 
class="code-keyword">null</SPAN>) {
-                    <SPAN class="code-comment">// TODO ... handle the response
-</SPAN>                    exchange.setStatus(ExchangeStatus.DONE);
-                    channel.send(exchange);
-                <SPAN class="code-comment">// Fault message
-</SPAN>                } <SPAN class="code-keyword">else</SPAN> <SPAN 
class="code-keyword">if</SPAN> (exchange.getFault() != <SPAN 
class="code-keyword">null</SPAN>) {
-                    <SPAN class="code-comment">// TODO ... handle the fault
-</SPAN>                    exchange.setStatus(ExchangeStatus.DONE);
-                    channel.send(exchange);
-                <SPAN class="code-comment">// This is not compliant with the 
<SPAN class="code-keyword">default</SPAN> MEPs
-</SPAN>                } <SPAN class="code-keyword">else</SPAN> {
-                    <SPAN class="code-keyword">throw</SPAN> <SPAN 
class="code-keyword">new</SPAN> IllegalStateException(<SPAN 
class="code-quote">&quot;Consumer exchange is ACTIVE, but no out or fault is 
provided&quot;</SPAN>);
-                }
-            }
-        <SPAN class="code-comment">// Unknown role
-</SPAN>        } <SPAN class="code-keyword">else</SPAN> {
-            <SPAN class="code-keyword">throw</SPAN> <SPAN 
class="code-keyword">new</SPAN> IllegalStateException(<SPAN 
class="code-quote">&quot;Unkown role: &quot;</SPAN> + exchange.getRole());
-        }
-    }</PRE>
-</DIV></DIV>
-
-<P>The implementation of the method above was provided by the 
servicemix-service-engine Maven archetype. This method is very generic and 
contains a conditional block for handling either a consumer or a provider role. 
But this method will still require us to make the decision of which style of 
<SPAN class="nobr"><A 
href="http://servicemix.org/site/5-jbi.html#5.JBI-ServiceinvocationandMEP"; 
title="Visit page outside Confluence" rel="nofollow">Message Exchange Pattern 
(MEP)<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> to handle. In 
the case of the Hello World SE, we know that it is a provider so it will need 
to send a return message. Therefore it will need to handle an <SPAN 
class="nobr"><A 
href="http://www.w3.org/TR/2004/WD-wsdl20-extensions-20040803/#in-out"; 
title="Visit page outside Confluence" rel="nofollow">In-Out MEP<SUP><IMG 
class="rendericon" src="http:/
 /goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" 
align="absmiddle" alt="" border="0"></SUP></A></SPAN>. So instead of having 
<TT>MyEndpoint</TT> extend the very basic <TT>Endpoint</TT> class and implement 
its own <TT>process()</TT> method, we&apos;re going to extend a different class 
that is specifically for provider endpoints named <BR>
-<SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/endpoints/ProviderEndpoint.java?r=trunk";
 title="Visit page outside Confluence" 
rel="nofollow"><TT>ProviderEndpoint</TT><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. </P>
-
-<P><SPAN class="error">Unable to render embedded object: File 
(simple_endpoint_hierarchy.png) not found.</SPAN></P>
-
-<P>Notice the diagram above showing the class hierarchy of <TT>Endpoint</TT>. 
The <TT>ProviderEndpoint</TT> supplies some additional conveniences for 
provider components beyond what the <TT>Endpoint</TT> class provides and will 
make the job of implementing <TT>MyEndpoint</TT> as a provider much easier. So 
let&apos;s make some changes to the <TT>MyEndpoint</TT> class. <B>First</B> 
remove the <TT>process()</TT> method shown above. <B>Second</B>, change the 
definition of the <TT>MyEndpoint</TT> class from this: </P>
-
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class 
MyEndpoint <SPAN class="code-keyword">extends</SPAN> Endpoint <SPAN 
class="code-keyword">implements</SPAN> ExchangeProcessor</PRE>
-</DIV></DIV>
-
-<P>to this: </P>
-
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-java"><SPAN class="code-keyword">public</SPAN> class 
MyEndpoint <SPAN class="code-keyword">extends</SPAN> ProviderEndpoint <SPAN 
class="code-keyword">implements</SPAN> ExchangeProcessor</PRE>
-</DIV></DIV> 
-
-<P>By the way, making this change will require the import of the full class 
(<TT>org.apache.servicemix.common.endpoints.ProviderEndpoint</TT>). This class 
can be found in the <SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/servicemix-common/"; 
title="Visit page outside Confluence" rel="nofollow">servicemix-common<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
project. </P>
-
-<P><B>Third</B>, because the <TT>ProviderEndpoint.process()</TT> method 
already handles an In-Out MEP (and other MEPs), <TT>MyEndpoint</TT> will simply 
need to override the <TT>ProviderEndpoint.processInOut()</TT> method. Below is 
the content for implementing this method. Copy/paste this method: </P>
-
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-java"><SPAN class="code-keyword">protected</SPAN> void 
processInOut(MessageExchange exchange, NormalizedMessage in, NormalizedMessage 
out) <SPAN class="code-keyword">throws</SPAN> Exception {
-       SourceTransformer sourceTransformer = <SPAN 
class="code-keyword">new</SPAN> SourceTransformer();
-       <SPAN class="code-object">String</SPAN> inMessage = 
sourceTransformer.toString(in.getContent()); 
-       out.setContent(<SPAN class="code-keyword">new</SPAN> StringSource(<SPAN 
class="code-quote">&quot;&lt;hello&gt;Hello World! Message [&quot;</SPAN> + 
inMessage + <SPAN class="code-quote">&quot;] contains [&quot;</SPAN> + 
inMessage.getBytes().length + <SPAN class="code-quote">&quot;] 
bytes&lt;/hello&gt;.&quot;</SPAN>));
-}</PRE>
-</DIV></DIV>
-
-<P>Adding this method will require the import of the following classes: </P>
-
-<UL>
-       <LI><TT>org.apache.servicemix.jbi.jaxp.SourceTransformer</TT></LI>
-       <LI><TT>org.apache.servicemix.jbi.jaxp.StringSource</TT></LI>
-</UL>
-
-
-<P>These classes can be found in the <SPAN class="nobr"><A 
href="http://fisheye3.cenqua.com/browse/servicemix/trunk/servicemix-core/"; 
title="Visit page outside Confluence" rel="nofollow">servicemix-core<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
project.</P>
-
-<P>This method is the logic for the Hello World SE. We&apos;re not doing 
anything complex here at all in order to keep this tutorial very simple. Now 
it&apos;s time to test the component. </P>
+<P><EM>This is a work in progress. I will finish this up very soon.</EM></P>
 
-<H2><A name="CopyofHelloWorld-BC-TestingtheHelloWorldComponent"></A>Testing 
the Hello World Component</H2>
+<H2><A 
name="CopyofHelloWorld-BC-TestingtheHelloWorldBindingComponent"></A>Testing the 
Hello World Binding Component</H2>
 
-<P>Thanks to the archetype, testing the component is very easy because it 
already created a test. The only change we&apos;ll make is to the string being 
sent by the client code. In the <TT>src/test/java</TT> directory is the 
<TT>org.apache.servicemix.samples.helloworld.se.MySpringComponentTest</TT> 
test. Simply open this test and change line #36 from this: </P>
+<P>Thanks to the archetype, testing the component is very easy because it 
already created a test. The only change we&apos;ll make is to the string being 
sent by the client code. In the <TT>src/test/java</TT> directory is the 
<TT>org.apache.servicemix.samples.helloworld.bc.MySpringComponentTest</TT> 
test. Simply open this test and change line #36 from this: </P>
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">me.getInMessage().setContent(<SPAN 
class="code-keyword">new</SPAN> StringSource(<SPAN 
class="code-quote">&quot;&lt;hello&gt;world&lt;/hello&gt;&quot;</SPAN>));</PRE>
@@ -608,7 +520,7 @@
 <PRE class="code-java">me.getInMessage().setContent(<SPAN 
class="code-keyword">new</SPAN> StringSource(<SPAN 
class="code-quote">&quot;&lt;hello&gt;Ski 
Colorado!&lt;/hello&gt;&quot;</SPAN>));</PRE>
 </DIV></DIV>
 
-<P>To execute the test, simply run the Maven <TT>install</TT> goal from within 
the <TT>hello-world-se-su</TT> directory like so: </P>
+<P>To execute the test, simply run the Maven <TT>install</TT> goal from within 
the <TT>hello-world-bc-su</TT> directory like so: </P>
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">$ mvn install</PRE>
@@ -617,77 +529,7 @@
 <P>Below is the output that will print to the console: </P>
 
 <DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>[INFO] Scanning for projects...
-[INFO] 
----------------------------------------------------------------------------
-[INFO] Building A custom project
-[INFO]    task-segment: [install]
-[INFO] 
----------------------------------------------------------------------------
-[INFO] [xbean:mapping {execution: default}]
-Checking: org.apache.servicemix.samples.helloworld.se.MyComponent
-Checking: org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] Generating META-INF properties file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/services/org/apache/xbean/spring/http/
-org.apache.servicemix.samples.helloworld.se/1.0 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 handler mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.handlers
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 schema mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.schemas
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating HTML documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating XSD file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating WIKI documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.wiki
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-Warning, could not load class: 
org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] ...done.
-Downloading: 
http://repo.mergere.com/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-Downloading: http://repo.mergere.com/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-[INFO] [jbi:generate-jbi-component-descriptor]
-[INFO] Generating jbi.xml
-[INFO] [resources:resources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:compile]
-[INFO] Nothing to compile - all classes are up to date
-[INFO] [resources:testResources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:testCompile]
-[INFO] Nothing to compile - all classes are up to date
-[INFO] [surefire:test]
-[INFO] Surefire report directory: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/surefire-reports
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.apache.servicemix.samples.helloworld.se.MySpringComponentTest
-&lt;hello&gt;Hello World! Message [&lt;hello&gt;Ski Colorado!&lt;/hello&gt;] 
contains [28] bytes&lt;/hello&gt;.
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.487 sec
-
-Results :
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] [jar:jar]
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
-[INFO] [jbi:jbi-component]
-[INFO] Generating installer 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] [install:install]
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.jar
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.xsd
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-schema.html
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESSFUL
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 16 seconds
-[INFO] Finished at: Mon Jan 15 13:19:51 MST 2007
-[INFO] Final Memory: 13M/24M
-[INFO] ------------------------------------------------------------------------
+<PRE>
 </PRE>
 </DIV></DIV>
 
@@ -699,7 +541,7 @@
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">$ pwd
-/Users/bsnyder/src/hello-world-smx/hello-world-se-su
+/Users/bsnyder/src/hello-world-smx/hello-world-bc-su
 $ cd .. 
 $ mvn archetype:create \
     -DarchetypeGroupId=org.apache.servicemix.tooling \
@@ -709,7 +551,7 @@
     -DartifactId=hello-world-sa</PRE>
 </DIV></DIV>
 
-<P>Upon successful execution of the <TT>archetype:create</TT> goals, look for 
the BUILD SUCCESSFUL output as displayed below: </P>
+<P>Upon successful execution of the <TT>archetype:create</TT> goal, look for 
the BUILD SUCCESSFUL output as displayed below: </P>
 
 <DIV class="preformatted"><DIV class="preformattedContent">
 <PRE>[INFO] Scanning for projects...
@@ -778,17 +620,17 @@
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">$ ls 
-hello-world-sa hello-world-se-su</PRE>
+hello-world-sa hello-world-bc-su</PRE>
 </DIV></DIV>
 
 <P>If you see the above directories, proceed to the next step below. If 
instead you see the BUILD FAILED output, you&apos;ll need to analyze the rest 
of the output to troubleshoot the issue. Assistance with any issue you might 
experience is available from the ServiceMix community via the <A 
href="mailing-lists.html" title="Mailing Lists">ServiceMix mailing lists 
archive</A>. </P>
 
-<P>Now that we have a project for the SA, we need to edit the POM so that the 
project depends upon the JBI component we created above. This can be done by 
editing the POM for the SA to add a dependency upon the 
<TT>hello-world-se-su</TT> as listed below: </P>
+<P>Now that we have a project for the SA, we need to edit the POM so that the 
project depends upon the JBI component we created above. This can be done by 
editing the POM for the SA to add a dependency upon the 
<TT>hello-world-bc-su</TT> as listed below: </P>
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">&lt;dependency&gt;
-  &lt;groupId&gt;org.apache.servicemix.samples.helloworld.se&lt;/groupId&gt;
-  &lt;artifactId&gt;hello-world-se-su&lt;/artifactId&gt;
+  &lt;groupId&gt;org.apache.servicemix.samples.helloworld.bc&lt;/groupId&gt;
+  &lt;artifactId&gt;hello-world-bc-su&lt;/artifactId&gt;
   &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
 &lt;/dependency&gt;</PRE>
 </DIV></DIV>
@@ -801,46 +643,13 @@
 </DIV></DIV>
 
 <DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>[INFO] Scanning for projects...
-[INFO] 
----------------------------------------------------------------------------
-[INFO] Building A custom project
-[INFO]    task-segment: [install]
-[INFO] 
----------------------------------------------------------------------------
-Downloading: 
http://repo.mergere.com/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-Downloading: http://repo.mergere.com/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-[INFO] [jbi:generate-jbi-service-assembly-descriptor]
-[INFO] Generating jbi.xml
-[INFO] [resources:resources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:compile]
-[INFO] No sources to compile
-[INFO] [resources:testResources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:testCompile]
-[INFO] No sources to compile
-[INFO] [surefire:test]
-[INFO] No tests to run.
-[INFO] [jbi:jbi-service-assembly]
-[INFO] [jar:jar]
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/hello-world-sa-1.0-SNAPSHOT.jar
-[INFO] [install:install]
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/hello-world-sa-1.0-SNAPSHOT.jar
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-sa/1.0-SNAPSHOT/hello-world-sa-1.0-SNAPSHOT.zip
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESSFUL
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 10 seconds
-[INFO] Finished at: Fri Jan 05 23:53:19 MST 2007
-[INFO] Final Memory: 12M/22M
-[INFO] ------------------------------------------------------------------------
+<PRE>
 </PRE>
 </DIV></DIV>
 
 <H2><A 
name="CopyofHelloWorld-BC-IncorporatingtheProjectsIntoaTopLevelPOM"></A>Incorporating
 the Projects Into a Top Level POM</H2>
 
-<P>Now that we have created the SU and SA projects, a top level 
<TT>pom.xml</TT> must be manually created and made aware of each subproject. 
This will allow all the projects to be built automatically without having to 
build each project in order manually. Maven will discover all the projects and 
build them in the proper order. In the <TT>hello-world-se-su</TT> directory, 
create a file named <TT>pom.xml</TT> containing the following content:</P>
+<P>Now that we have created the SU and SA projects, a top level 
<TT>pom.xml</TT> must be manually created and made aware of each subproject. 
This will allow all the projects to be built automatically without having to 
build each project in order manually. Maven will discover all the projects and 
build them in the proper order. In the <TT>hello-world-bc-su</TT> directory, 
create a file named <TT>pom.xml</TT> containing the following content:</P>
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">&lt;?xml version=<SPAN 
class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN 
class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;
@@ -858,7 +667,7 @@
 
   &lt;modules&gt;
     &lt;module&gt;hello-world-sa&lt;/module&gt;
-    &lt;module&gt;hello-world-se-su&lt;/module&gt;
+    &lt;module&gt;hello-world-bc-su&lt;/module&gt;
   &lt;/modules&gt;
 
 &lt;/project&gt;</PRE>
@@ -868,7 +677,7 @@
 
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">$ ls 
-hello-world-sa hello-world-se-su pom.xml</PRE>
+hello-world-sa hello-world-bc-su pom.xml</PRE>
 </DIV></DIV>
 
 <P>All projects can now be built using the following command on the 
command-line from the top level <TT>hello-world-smx</TT> directory: </P>
@@ -880,131 +689,7 @@
 <P>The command above should display the output below: </P>
 
 <DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>[INFO] Scanning for projects...
-[INFO] Reactor build order: 
-[INFO]   A custom project
-[INFO]   A custom project
-[INFO]   Hello World JBI Component
-[INFO] 
----------------------------------------------------------------------------
-[INFO] Building A custom project
-[INFO]    task-segment: [clean, install]
-[INFO] 
----------------------------------------------------------------------------
-[INFO] [clean:clean]
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/classes
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/test-classes
-[INFO] [xbean:mapping {execution: default}]
-Checking: org.apache.servicemix.samples.helloworld.se.MyComponent
-Checking: org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] Generating META-INF properties file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/services/org/apache/xbean/spring/http/
-org.apache.servicemix.samples.helloworld.se/1.0 for namespace: 
http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 handler mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.handlers
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating Spring 2.0 schema mapping: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/META-INF/spring.schemas
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating HTML documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating XSD file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-[INFO] Generating WIKI documentation file: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.wiki
 
-for namespace: http://org.apache.servicemix.samples.helloworld.se/1.0
-Warning, could not load class: 
org.apache.servicemix.samples.helloworld.se.MyEndpoint
-[INFO] ...done.
-Downloading: 
http://repo.mergere.com/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-Downloading: http://repo.mergere.com/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
-[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
-[INFO] [jbi:generate-jbi-component-descriptor]
-[INFO] Generating jbi.xml
-[INFO] [resources:resources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:compile]
-Compiling 3 source files to 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/classes
-[INFO] [resources:testResources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:testCompile]
-Compiling 1 source file to 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/test-classes
-[INFO] [surefire:test]
-[INFO] Surefire report directory: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/surefire-reports
-
--------------------------------------------------------
- T E S T S
--------------------------------------------------------
-Running org.apache.servicemix.samples.helloworld.se.MySpringComponentTest
-&lt;hello&gt;Hello World! Message [&lt;hello&gt;Ski Colorado!&lt;/hello&gt;] 
contains [28] bytes&lt;/hello&gt;.
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.464 sec
-
-Results :
-Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
-[INFO] [jar:jar]
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
-[INFO] [jbi:jbi-component]
-[INFO] Generating installer 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] [install:install]
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT.jar
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.jar
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT.xsd
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/xbean/hello-world-se-su.xsd.html
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-schema.html
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-se-su/target/hello-world-se-su-1.0-SNAPSHOT-installer.zip
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/se/hello-world-se-su/1.0-SNAPSHOT/hello-world-se-su-1.0-SNAPSHOT-installer.zip
-[INFO] 
----------------------------------------------------------------------------
-[INFO] Building A custom project
-[INFO]    task-segment: [clean, install]
-[INFO] 
----------------------------------------------------------------------------
-[INFO] [clean:clean]
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/classes
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/test-classes
-[INFO] [jbi:generate-jbi-service-assembly-descriptor]
-[INFO] Generating jbi.xml
-[INFO] [resources:resources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:compile]
-[INFO] No sources to compile
-[INFO] [resources:testResources]
-[INFO] Using default encoding to copy filtered resources.
-[INFO] [compiler:testCompile]
-[INFO] No sources to compile
-[INFO] [surefire:test]
-[INFO] No tests to run.
-[INFO] [jbi:jbi-service-assembly]
-[INFO] [jar:jar]
-[INFO] Building jar: 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/hello-world-sa-1.0-SNAPSHOT.jar
-[INFO] [install:install]
-[INFO] Installing 
/Users/bsnyder/src/hello-world-smx/hello-world-sa/target/hello-world-sa-1.0-SNAPSHOT.jar
 to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-sa/1.0-SNAPSHOT/hello-world-sa-1.0-SNAPSHOT.zip
-[INFO] 
----------------------------------------------------------------------------
-[INFO] Building Hello World JBI Component
-[INFO]    task-segment: [clean, install]
-[INFO] 
----------------------------------------------------------------------------
-[INFO] [clean:clean]
-[INFO] Deleting directory /Users/bsnyder/src/hello-world-smx/target
-[INFO] Deleting directory /Users/bsnyder/src/hello-world-smx/target/classes
-[INFO] Deleting directory 
/Users/bsnyder/src/hello-world-smx/target/test-classes
-[INFO] [site:attach-descriptor]
-[INFO] [install:install]
-[INFO] Installing /Users/bsnyder/src/hello-world-smx/pom.xml to 
-/Users/bsnyder/.m2/repository/org/apache/servicemix/samples/helloworld/hello-world-smx/1.0-SNAPSHOT/hello-world-smx-1.0-SNAPSHOT.pom
-[INFO] 
-[INFO] 
-[INFO] ------------------------------------------------------------------------
-[INFO] Reactor Summary:
-[INFO] ------------------------------------------------------------------------
-[INFO] A custom project ...................................... SUCCESS 
[17.091s]
-[INFO] A custom project ...................................... SUCCESS [2.465s]
-[INFO] Hello World JBI Component ............................. SUCCESS [1.552s]
-[INFO] ------------------------------------------------------------------------
-[INFO] ------------------------------------------------------------------------
-[INFO] BUILD SUCCESSFUL
-[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 22 seconds
-[INFO] Finished at: Mon Jan 15 13:30:59 MST 2007
-[INFO] Final Memory: 14M/28M
-[INFO] ------------------------------------------------------------------------
+<PRE>
 </PRE>
 </DIV></DIV> 
 
@@ -1016,7 +701,7 @@
 
 <UL>
        <LI>Edit <TT>hello-world-sa/pom.xml</TT> and replace <TT>&lt;name&gt;A 
custom project&lt;/name&gt;</TT> with <TT>&lt;name&gt;Hello World Service 
Assembly&lt;/name&gt;</TT></LI>
-       <LI>Edit <TT>hello-world-se-su/pom.xml</TT> and replace 
<TT>&lt;name&gt;A custom project&lt;/name&gt;</TT> with <TT>&lt;name&gt;Hello 
World SE Service Unit&lt;/name&gt;</TT></LI>
+       <LI>Edit <TT>hello-world-bc-su/pom.xml</TT> and replace 
<TT>&lt;name&gt;A custom project&lt;/name&gt;</TT> with <TT>&lt;name&gt;Hello 
World BC Service Unit&lt;/name&gt;</TT></LI>
 </UL>
 
 
@@ -1116,8 +801,9 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=bsnyder";>Bruce
 Snyder</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=bsnyder";>Bruce
 Snyder</A> on Jan 15, 2007
-                  
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=bsnyder";>Bruce
 Snyder</A> on Jan 16, 2007
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=15306&originalId=15308";>view
 change</A>)
+              
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=15306";>edit 
page</A>)
     </DIV>
 

Added: 
incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png?view=auto&rev=496591
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg?view=auto&rev=496591
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/servicemix/site/hello-world-bc.data/simple_endpoint_hierarchy.png.jpeg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream


Reply via email to