Yes, the service unit is needed because it configures the BC.
I had a look at the Hello World BC wiki page and it looks not that bad
as you described it.

Maybe you did not really understand how BC/SE, SU and SA plays together.
BC and SE are engines, which are deployed to the smx. But when doing it,
it does not
mean that you have then a working Hello World example. For doing such
example you have to deploy a Hello World ServiceUnit which configures an
endpoint using the BC in a ServiceAssembly.

Please re-read the whole wiki page and don't skip out things. If you
still have problems please describe what you already did and what's the
problem exactly.

Regards
Lars




jbx schrieb:
> Hi all,
>
> First of all I am a newbie, so please ignore my ignorance if my question is
> obvious.
>
> I have tried to follow the HelloWorld-BC tutorial but it is quite
> incomplete, so I hope to close the gaps here. I tried to look around and
> lots of people seemed to have problems too but there are no clear answers to
> my questions.
>
> 1. Is the Service Unit needed? If yes can I follow some other tutorial to
> get it done? I tried to follow the steps from other tutorials, but not sure
> if I omitted something. In the Hello-World-BC tutorial there is just this:
>
> == 1. Creating a Hello World BC Service Unit 
> This is a work in progress 
>
> 2. What are the steps to deploy the BC into the actual ServiceMix? Same
> problem with the documentation:
>
> == Deploying the Component 
> Now that the SA is built, we're ready to deploy it to the JBI container. 
>
> This is a work in progress. I will finish this up very soon
>
> I tried to reason things out and got to a point where I finally got
> ServiceMix to load my hello-world-sa (created the missing MyBootstrap.java
> etc.) However I must have missed something.
>
> I modified the MySpringComponentTest to use the RemoteServiceMixClient
> instead to access the ServiceMix JVM:
>
> RemoteServiceMixClient rc = new 
> RemoteServiceMixClient("tcp://localhost:61616");
>
>  but I just got this error:
>
> 4875 [main] WARN org.apache.servicemix.jbi.nmr.DefaultBroker  - ServiceName
> ({urn:test}service) specified for routing, but can't find it registered
>
>
> I suspect that this is something related to endpoints and the way the BC was
> deployed, but I have no idea what to do next.
>
> In the end I just want to learn how to develop my own BC for a specific
> protocol and have it accessible on the [ServiceMix] ESB from other clients
> remotely.
>
> Thanks.
>
>
>
>
>
>
>   

Reply via email to