bsnyder wrote:
> 
>>> >>> 2.  How would I send that message through different communication
>>> >>> protocols,
>>> >>> say HTTP or FTP, for example?
>>> >
>>> >> You'd need to create another SU project based on the servicemix-http
>>> >> or servicemix-ftp component and configure the BC as an endpoint for
>>> >> the SE. That SU would then expose the SE via either HTTP or FTP.
>>> >
>>> >
>>>
>>> Ok, so do I run a command like the following to create the http bc:
>>>
>>> mvn archetype:create \
>>> -DarchetypeGroupId=org.apache.servicemix.tooling \
>>> -DarchetypeArtifactId=servicemix-http-consumer-service-unit \
>>> -DarchetypeVersion=3.1-incubating-SNAPSHOT \
>>> -DgroupId=org.apache.servicemix.samples.helloworld.se \
>>> -DartifactId=hello-world-bc-su
> 
>> Yes, the command above will create a consumer SU based on the
>> servicemix-http component. This SU can be used to expose a service on
>> the NMR via HTTP, i.e., this will make the service available outside
>> the JBI container via the HTTP protocol.
> 
>>> I noticed that command creates an xbean.xml that has parameters.  Is
>>> this
>>> where I will be able to set the BC as an endpoint for the SE?  If so,
>>> how
>>> exactly do I do that?
> 
>> Yes, the xbean.xml file is used to configure the servicemix-http
>> component as described here:
> 

Ok, I have done that. Do I need to start servicemix and then deploy the
project to the JBI container to make my service available to http requests? 
I'm not sure how to do this, if that is right.
-- 
View this message in context: 
http://www.nabble.com/Questions-about-Hello-World-Example-tf3036579s12049.html#a8456825
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to