You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "gede06@student.bth.se" <ge...@student.bth.se> on 2006/09/25 18:29:29 UTC

Exists minimalistic example for JBI Component in SU in SA?

Hello again,

for the user's guide / tutorials some other issue:

1) Is any of you aware of an absolutely minimalistic example for a JBI
Component in an SU in an SA? I'm looking for full (not just snippets) code
of a very basic, working "hello world" that is accompanied by some
description of the process, structure, reasons etc. of it's creation. If
only code XOR description is available: Fine as well; see below.

The shipped examples like loan-broker etc. seem IMHO rather "big and fancy"
thus overwhelming newbies that still figure out the basics. The tutorials I
found at the servicemix website offer only clippings of the big picture, no
working full code and only few information about "why so/this" (eg why
_this_ archetype?).

2) In case such a thing does not exist, is any experienced person willing to
help me create such a thing? I probably need some input concerning "wished
practices" (so not showing a "dirty" way of usage) and where & how to place
it (I guess I'd place it in SVN and retrieve snippets from SVN for the
descriptions in the wiki like for Configuration at
http://www.servicemix.org/site/visualisation.html). 

3) Is there any place to collect ideas on stuff of similar type where users
& newbies can write without need for special access rights? In Confluence,
comments are only possible for users granted access rights -- what keeps a
lot of people from jotting down their 2-5 lines.

Thanks, Georg
-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6490074
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by "gede06@student.bth.se" <ge...@student.bth.se>.
Hej,

in order to do some further tries with the current documentation, I had a
closer look at
http://goopen.org/confluence/display/SM/Creating+a+protocol+bridge and
extended it slightly but finally ran into troubles.

>From HTTP SU till JMS SU, the ?file name is not mentioned (=where the code
snippets have to be placed). I used xbean.xml and build was successful but
final installation was not, so I am not 100% sure whether xbean.xml is
correct. Is it? 

Output after mvn jbi:projectDeploy tells me BUILD SUCCESSFUL but also [INFO]
bridge-sa is not deployed without further information. Also after manual
deployment (SM tells me it has installed bridge-sa), I cannot successfully
connect to http://localhost:8192/bridge/  (BTW: I used servicemix 3.0 "will
be release" and older 3.0M2 snapshots on Windows XP). Any hints?

Finally, one "can send an HTML POST request to
http://localhost:8192/bridge/". Well, how to do do that? I just used
/samples/bridge/client.html in the source -- is it made for that purpose?
Then we shall point to it in the tutorial as well IMHO...

So long, Georg
-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6493290
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by "gede06@student.bth.se" <ge...@student.bth.se>.


gnodet wrote:
> 
> Done.
> http://goopen.org/confluence/display/SM/Users+space
> should be available to edit for all users logged in,
> and anonymous users should be able to add comments.
> 
Comments work :-) but the EDIT tab is not present without login :-(
-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6505070
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by Guillaume Nodet <gn...@gmail.com>.
Done.

http://goopen.org/confluence/display/SM/Users+space
should be available to edit for all users logged in,
and anonymous users should be able to add
comments.

On 9/25/06, gede06@student.bth.se <ge...@student.bth.se> wrote:
>
>
>
> gnodet wrote:
> >
> >> 3) Is there any place to collect ideas on stuff of similar type where
> >> users
> >> & newbies can write without need for special access rights? In
> >> Confluence,
> >> comments are only possible for users granted access rights -- what keeps
> >> a
> >> lot of people from jotting down their 2-5 lines.
> > Looking at the permissions, it seems every user logged in should be
> > able to add comments.  Should we enable all users to edit / create
> > pages ?
> >
> Exactly the requirement for a log-in is too high if you just want to drop
> 2-5 lines -- registration takes longer than actual filing (BTW that's the
> reason why I do not file the Confluence bugs, mea culpa).
> 1) Is it possible to open only one specific page for public?
> 2) Is it possible to open all the comments to everyone (using CAPTCHAs to
> prevent spam) but require a login for editing pages?
>
> 1) is great for brainstorming and refining existing ideas. 2) is great to
> improve existing tutorials.
>
> Cheers, Georg
> --
> View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6493546
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by "gede06@student.bth.se" <ge...@student.bth.se>.

gnodet wrote:
> 
>> The shipped examples like loan-broker etc. seem IMHO rather "big and
>> fancy"
>> thus overwhelming newbies that still figure out the basics. 
> 
> There is no really simple example, that's right.
> 
I still hope someone has created a very easy thing for himself (or a
presentation or the like) but never published it...yet.


gnodet wrote:
> 
>> 2) In case such a thing does not exist, is any experienced person willing
>> to
>> help me create such a thing? 
> Sure.
> 

I'll write about that in a sperate mail to seperate affairs.


gnodet wrote:
> 
>> 3) Is there any place to collect ideas on stuff of similar type where
>> users
>> & newbies can write without need for special access rights? In
>> Confluence,
>> comments are only possible for users granted access rights -- what keeps
>> a
>> lot of people from jotting down their 2-5 lines.
> Looking at the permissions, it seems every user logged in should be
> able to add comments.  Should we enable all users to edit / create
> pages ?
> 
Exactly the requirement for a log-in is too high if you just want to drop
2-5 lines -- registration takes longer than actual filing (BTW that's the
reason why I do not file the Confluence bugs, mea culpa). 
1) Is it possible to open only one specific page for public? 
2) Is it possible to open all the comments to everyone (using CAPTCHAs to
prevent spam) but require a login for editing pages?

1) is great for brainstorming and refining existing ideas. 2) is great to
improve existing tutorials.

Cheers, Georg
-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6493546
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by Guillaume Nodet <gn...@gmail.com>.
On 9/25/06, gede06@student.bth.se <ge...@student.bth.se> wrote:
>
> Hello again,
>
> for the user's guide / tutorials some other issue:
>
> 1) Is any of you aware of an absolutely minimalistic example for a JBI
> Component in an SU in an SA? I'm looking for full (not just snippets) code
> of a very basic, working "hello world" that is accompanied by some
> description of the process, structure, reasons etc. of it's creation. If
> only code XOR description is available: Fine as well; see below.
>
> The shipped examples like loan-broker etc. seem IMHO rather "big and fancy"
> thus overwhelming newbies that still figure out the basics. The tutorials I
> found at the servicemix website offer only clippings of the big picture, no
> working full code and only few information about "why so/this" (eg why
> _this_ archetype?).

There is no really simple example, that's right.

>
> 2) In case such a thing does not exist, is any experienced person willing to
> help me create such a thing? I probably need some input concerning "wished
> practices" (so not showing a "dirty" way of usage) and where & how to place
> it (I guess I'd place it in SVN and retrieve snippets from SVN for the
> descriptions in the wiki like for Configuration at
> http://www.servicemix.org/site/visualisation.html).

Sure.

>
> 3) Is there any place to collect ideas on stuff of similar type where users
> & newbies can write without need for special access rights? In Confluence,
> comments are only possible for users granted access rights -- what keeps a
> lot of people from jotting down their 2-5 lines.

Looking at the permissions, it seems every user logged in should be
able to add comments.  Should we enable all users to edit / create
pages ?

>
> Thanks, Georg
> --
> View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6490074
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by "gede06@student.bth.se" <ge...@student.bth.se>.


acm wrote:
> 
> I too find it frustrating that there are lots of big fancy examples but no
> examples for the simple things that I would expect 95% of servicemix's
> users would be interested in.  How do you create a simple jbi component? 
> How do you hook up multiple web services into the ESB and use URL pattern
> matching to distinguish between them?
> 
Hej Andrew,

I started a guide from scratch to a running SE, just the way you sketched.
Be my guest and feel free to contribute to
http://goopen.org/confluence/display/SM/Hello+World+-+SE  --- I will not
work on it for some days as I have to explore other aspects of ServiceMix
now. I plan to continue later.

Hej d?, Georg
-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6549930
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Exists minimalistic example for JBI Component in SU in SA?

Posted by acm <an...@boeing.com>.
I too find it frustrating that there are lots of big fancy examples but no
examples for the simple things that I would expect 95% of servicemix's users
would be interested in.  How do you create a simple jbi component?  How do
you hook up multiple web services into the ESB and use URL pattern matching
to distinguish between them?

andrew


gede06@student.bth.se wrote:
> 
> Hello again,
> 
> for the user's guide / tutorials some other issue:
> 
> 1) Is any of you aware of an absolutely minimalistic example for a JBI
> Component in an SU in an SA? I'm looking for full (not just snippets) code
> of a very basic, working "hello world" that is accompanied by some
> description of the process, structure, reasons etc. of it's creation. If
> only code XOR description is available: Fine as well; see below.
> 
> The shipped examples like loan-broker etc. seem IMHO rather "big and
> fancy" thus overwhelming newbies that still figure out the basics. The
> tutorials I found at the servicemix website offer only clippings of the
> big picture, no working full code and only few information about "why
> so/this" (eg why _this_ archetype?).
> 
> 2) In case such a thing does not exist, is any experienced person willing
> to help me create such a thing? I probably need some input concerning
> "wished practices" (so not showing a "dirty" way of usage) and where & how
> to place it (I guess I'd place it in SVN and retrieve snippets from SVN
> for the descriptions in the wiki like for Configuration at
> http://www.servicemix.org/site/visualisation.html). 
> 
> 3) Is there any place to collect ideas on stuff of similar type where
> users & newbies can write without need for special access rights? In
> Confluence, comments are only possible for users granted access rights --
> what keeps a lot of people from jotting down their 2-5 lines.
> 
> Thanks, Georg
> 

-- 
View this message in context: http://www.nabble.com/Exists-minimalistic-example-for-JBI-Component-in-SU-in-SA--tf2332700.html#a6548914
Sent from the ServiceMix - User mailing list archive at Nabble.com.