Hello again,

thanks for your reply. Nonetheless it is still not clear to me.


bsnyder wrote:
> 
> On 4/5/07, okrische <[EMAIL PROTECTED]> wrote:
>> But what do i have to implement within my java application? Do i have to
>> write a proprietary client,
>> which connects to a binding component on the servicemix server, so i can
>> send or receive files?
>> And the binding component sends it to the bus?
> 
> To get started, you will need to allow an application to connect to
> the JBI container via one of the supported protocols (e.g., HTTP, FTP,
> etc.). To achieve this, you will need to create a JBI service unit
> (SU) that contains a configuration for the JBI component you would
> like to use. Then the SU needs to be wrapped up in a JBI service
> assembly (SA) in order to be deployed to the JBI container. I'd
> suggest reading through these two FAQ items to get started on these
> two tasks:
> 


What i understand so far, i have to create a SU and a SA. 
The SU provides in the ServiceMix world some kind of endpoint. 
And my application talks to this SU in my application world. 

But to me it is still not clear, how my application will talk to this SU. 
And how does the SU talk with my application?

Lets say, my application sends the file. It must talk with the SU 
to be able to upload the file. On the other hand, when the SU has a file, 
i must download the file from the SU.

I have several ways to talk with the SU. If i use servicemix-http 
within my SU, my application can talk to this SU by HTTP. 

Simple as that?

Or is there something on top of that? Another protocol?

For me it would be more clear, if servicemix would say: 

- this is a servicemix-http component. 
  You can use it to implement a service unit. 
  This service unit will be reachable by HTTP.
- on the other hand, there is an adapter, a client. 
  you can use it to connect to a servicemix-http component
- the adapter and the servicemix-http component talk with each other by HTTP
- the adapter/client offers an inbox and an outbox
- write the defined messages into the outbox and it will be uploaded to the
SU
- if something arrived from the SU, i can read it from the inbox

But thats my own picture. And still i can not get rid of it.
I do not find access to your picture, yet!

To me it seems, i have to write something on my own 
to be able to talk with my SU, which just extends/uses servicemix-http.

The servicemix-http component just helps me to talk with this SU, 
it is just something like a little webserver?

But how i will talk to the SU, what i will talk on top of HTTP, this will be
my own business?

I am not sure, if iam on the right way. Am i close?

Thanks a lot in advance again. :)

Olaf Krische
-- 
View this message in context: 
http://www.nabble.com/Is-ServiceMix-right-for-what-i-want-to-do--tf3532719s12049.html#a9888484
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to