Hi Susinda, You can use something like "org.wso2.sample.inbound.customClass" as we have used in the class mediators here [1].
[1] https://docs.wso2.com/display/DVS371/Creating+ESB+Artifacts#CreatingESBArtifacts-Creatingamediator On Fri, Oct 9, 2015 at 11:30 AM, Susinda Perera <susi...@wso2.com> wrote: > @ chanaka : Like in scheduled tasks do you have a already available custom > class for this, if not what would be the class name which would likely to > have. > > > On Fri, Oct 9, 2015 at 11:26 AM, Chanaka Fernando <chana...@wso2.com> > wrote: > >> Hi Kathees/Maheeka, >> >> Can you comment on kafka and rabbitmq related params? >> >> @Susinda: For the custom inbound parameter, we can use the same approach >> which we are using for custom class mediators and custom scheduled tasks. >> >> On Fri, Oct 9, 2015 at 11:23 AM, Susinda Perera <susi...@wso2.com> wrote: >> >>> [+ Dev group] >>> >>> On Fri, Oct 9, 2015 at 11:21 AM, Susinda Perera <susi...@wso2.com> >>> wrote: >>> >>>> ESB team, >>>> >>>> Could you please suggest the default values for the (bolded parameters) >>>> following inbound endpoints. I came up with following values, is this >>>> values OK? >>>> >>>> <inboundEndpoint class="*org.test.CustomClass*" name="customEP" >>>> suspend="false" xmlns="http://ws.apache.org/ns/synapse"> >>>> <parameters> >>>> <parameter name="inbound.behavior">polling</parameter> >>>> </parameters> >>>> </inboundEndpoint> >>>> >>>> <inboundEndpoint name="kk" protocol="kafka" suspend="false" xmlns=" >>>> http://ws.apache.org/ns/synapse"> >>>> <parameters> >>>> *<parameter name="interval">100</parameter>* >>>> <parameter name="sequential">true</parameter> >>>> <parameter name="coordination">true</parameter> >>>> * <parameter name="zookeeper.connect">zookeeperConnect</parameter>* >>>> * <parameter name="group.id >>>> <http://group.id>">sampleGroupID</parameter>* >>>> <parameter name="content.type">application/xml</parameter> >>>> <parameter name="consumer.type">highlevel</parameter> >>>> *<parameter name="topics">sampleTopic</parameter>* >>>> <parameter name="socket.timeout.ms">0</parameter> >>>> <parameter name="auto.commit.enable">false</parameter> >>>> <parameter name="auto.offset.reset">smallest</parameter> >>>> <parameter name="exclude.internal.topics">false</parameter> >>>> <parameter >>>> name="partition.assignment.strategy">roundrobin</parameter> >>>> <parameter name="offsets.storage">zookeeper</parameter> >>>> <parameter name="dual.commit.enabled">false</parameter> >>>> </parameters> >>>> </inboundEndpoint> >>>> >>>> >>>> <inboundEndpoint name="rabitq" protocol="rabbitmq" suspend="false" >>>> xmlns="http://ws.apache.org/ns/synapse"> >>>> <parameters> >>>> <parameter name="sequential">true</parameter> >>>> <parameter name="coordination">true</parameter> >>>> *<parameter >>>> name="rabbitmq.connection.factory">connection_factory</parameter>* >>>> * <parameter name="rabbitmq.server.host.name >>>> <http://rabbitmq.server.host.name>">loclahost</parameter>* >>>> * <parameter name="rabbitmq.server.port">5672</parameter>* >>>> * <parameter name="rabbitmq.server.user.name >>>> <http://rabbitmq.server.user.name>">admin</parameter>* >>>> * <parameter name="rabbitmq.server.password">admin</parameter>* >>>> * <parameter name="rabbitmq.queue.name >>>> <http://rabbitmq.queue.name>">queue_name</parameter>* >>>> * <parameter name="rabbitmq.exchange.name >>>> <http://rabbitmq.exchange.name>">excahnge_name</parameter>* >>>> </parameters> >>>> >>>> >>>> >>>> -- >>>> *Susinda Perera* >>>> Software Engineer >>>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) >>>> Mobile:(+94)716049075 >>>> Blog: susinda.blogspot.com >>>> WSO2 Inc. http://wso2.com/ >>>> Tel : 94 11 214 5345 Fax :94 11 2145300 >>>> >>>> >>> >>> >>> -- >>> *Susinda Perera* >>> Software Engineer >>> B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) >>> Mobile:(+94)716049075 >>> Blog: susinda.blogspot.com >>> WSO2 Inc. http://wso2.com/ >>> Tel : 94 11 214 5345 Fax :94 11 2145300 >>> >>> >> >> >> -- >> -- >> Chanaka Fernando >> Senior Technical Lead >> WSO2, Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: +94 773337238 >> Blog : http://soatutorials.blogspot.com >> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 >> Twitter:https://twitter.com/chanakaudaya >> >> >> >> >> > > > -- > *Susinda Perera* > Software Engineer > B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) > Mobile:(+94)716049075 > Blog: susinda.blogspot.com > WSO2 Inc. http://wso2.com/ > Tel : 94 11 214 5345 Fax :94 11 2145300 > > -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev