Forum Stats

  • 3,840,276 Users
  • 2,262,580 Discussions
  • 7,901,193 Comments

Discussions

What should be configured as <channel> in Oracle CEP HTTP adapter for remote publishing?

user9210809
user9210809 Member Posts: 5
edited Jul 4, 2014 4:44AM in Complex Event Processing

Hi,

Below is the adapter configuration that I have for Oracle CEP HTTP adapter for remote publishing. What exactly should be configured in <channel> here? In the oracle documentation example, it only says /channel2 as an example.

Below is the HTTP adapter configuration file that I have created.

<?xml version="1.0" encoding="UTF-8"?>

<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application">

    <http-pub-sub-adapter>

        <name>HttpPostAdapter</name>

        <server-url>http://localhost:8080/RESTfulWS/rest/UserInfoService/post/jsonstream</server-url>

        <channel>/RESTfulWS</channel>

        <event-type>com.wipro.event.ResultEvent1</event-type>

    </http-pub-sub-adapter>

</wlevs:config>

'/RESTfulWS' in my above configuration is the context-root of my rest service.But this is not working so I would like someone to help me understand this configuration.

Many thanks.


Regards

Sowmya

Tagged:

Answers

This discussion has been closed.