Hi Guillaume ,

I tried the way you have suggested , but heres the error I get :
-----
DEBUG - DeliveryChannel                - Sent: MessageExchange[
  id: ID:PATPC-4463-1150773519872-5:0
  status: Active
  role: consumer
  in: <?xml version="1.0" encoding="UTF-8"?>
<value>TEST</value>
]
DEBUG - DefaultBroker                  - Routing exchange
org.apache.servicemix.jbi.messaging.InOutI
[EMAIL PROTECTED] to: null
DEBUG - DeliveryChannel                - Exception processing:
ID:blrkec72278D-4463-1150773519872-5:
0 in DeliveryChannel{index-service}
ERROR - SedaQueue                      -
[EMAIL PROTECTED]
got error processing [EMAIL PROTECTED]
javax.jbi.messaging.MessagingException: Could not find route for exchange:
org.apache.servicemix.jbi
[EMAIL PROTECTED] for service: null and interface: null
-----

I did install the servicemix-http component. I dropped the zip file  in the
directory that was  being monitored by SM :

DEBUG - InstallationService            - Moved
D:\servicemix\incubating-servicemix-3.0-SNAPSHOT\exam
ples\http-binding\rootDir\tmp\servicemix-http-3.0-SNAPSHOT-installer.0.tmp
to D:\servicemix\incubati
ng-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\components\servicemix-http\version_1
DEBUG - HttpBootstrap                  - Initializing bootstrap
DEBUG - HttpBootstrap                  - Bootstrap initialized
DEBUG - HttpBootstrap                  - Bootstrap onInstall
DEBUG - HttpBootstrap                  - Bootstrap onInstall done
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=servic
emix-http] with service: null component:
[EMAIL PROTECTED]
DEBUG - HttpBootstrap                  - Cleaning up bootstrap
DEBUG - HttpBootstrap                  - Bootstrap cleaned up
INFO  - ComponentMBeanImpl             - Starting component: servicemix-http
INFO  - ComponentMBeanImpl             - Initializing component:
servicemix-http
DEBUG - HttpComponent                  - Initializing component
DEBUG - HttpComponent                  - Component initialized
DEBUG - HttpComponent                  - Starting component
DEBUG - HttpComponent                  - Component started
DEBUG - SedaFlow                       - Called Flow resume
INFO  - AutoDeploymentService          - Directory: install: Finished
installation of archive:  serv
icemix-http-3.0-SNAPSHOT-installer.zip

---
Heres how the activation spec in servicemix.xml looks like :
                <sm:activationSpec>
                  <sm:component>
                    <http:component>
                      <http:endpoints>
                        <http:endpoint service="foo:hservice"
                                       endpoint="hservice"
                                       role="provider" 
                               locationURI="http://toreplace"; />
                      </http:endpoints>
                    </http:component>
                  </sm:component>
                </sm:activationSpec>

--
Looks like the service is not being set.
Any help will be appreciated.

Thanks
Pat
--
View this message in context: 
http://www.nabble.com/passing-key-value-pairs-for-posting-into-HttpInvoker-t1786326.html#a4948565
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to