Charles,

Thanks for your fast reply, but I think you misread my mail. I've tried to
get the servicemix-http component to work but with no luck, it keeps
giving me 404 replies.

What I need is the HTTP component to be able to receive requests on a URL
like these:
http://localhost:8192/inpact/sms?message=appelpie&originator=0031612345678

The HTTP component should then send a message like the following to the NMR:
<http-request url="/inpact/sms">
<parameter key="message" value="appelpie" />
<parameter key="originator" value="0031612345678" />
</http-request>


Geert.

> Hi Geert,
>
> The servicemix-http component can play both roles (consumer/producer)
> and so being able to do what you describe in your email. More info can
> be find here : http://servicemix.apache.org/servicemix-http.html
>
> If you don't want to use JBI specifications, you can design your
> solution using camel components : http://camel.apache.org/jetty.html /
> http://camel.apache.org/http.html
>
> Kind regards,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel Committer
>
> *******************************************************************
> - Blog : http://cmoulliard.blogspot.com
> - Twitter : http://twitter.com/cmoulliard
> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
>
>
> On Fri, Apr 23, 2010 at 12:27 PM, Geert Schuring <[email protected]>
> wrote:
>> Hey all,
>>
>> I need some advice about the following:
>>
>> We're using an SMS Gateway service that sends received SMS messages to
>> our
>> system using HTTP POST requests with the message and sender in the
>> request
>> parameters.
>> Initially I though it wouldn't be a problem to receive these messages
>> using the servicemix-http component, but as it turns out this component
>> can only create some sort of proxy for other JBI endpoints.
>>
>> What I need is a BC that I can configure to listen at a certain URL and
>> that sends a message to the NMR for every HTTP request that is received
>> on
>> this URL. I can then use standard servicemix components to transform the
>> message and send it to our processing server.
>>
>> As far as I can see (I'm new to servicemix, just started researching it
>> a
>> week ago) I need to create a custom BC to realize this scenario.
>>
>> What do you think about this?
>>
>> Geert.
>>
>>
>
>
>


Reply via email to