Hiranya Jayathilaka wrote:
> Hi Ruwan,
>
> On Mon, May 4, 2009 at 7:36 PM, Ruwan Linton <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hiranya,
>
>     Isn't this affecting the samples? I would like to keep the jms and vfs
>     senders enabled on the ESB by default. Is that the case?
>
>
> Not really. But I don't think it's a good idea to keep configurations 
> of these transports in several places. We already have their 
> transports  packed in the respective transport bundles.  So having 
> them in the axis2.xml is redundant. Also configurations in the 
> axis2.xml get priority over the configurations stored in the registry 
> so that any changes user applies to the transport configs will not 
> take effect if the user restarts the server.
>
> The only draw back I see in this approach is, as you have pointed out, 
> the user has to first login to the console and enable the two 
> transport senders in order to try out a few of the samples. We'll need 
> to document that. But IMHO this approach is certainly clean and well 
> organized. All transports except for http/https are loaded from 
> configs stored in respective transport bundles.
+1, please verify the samples and modify the documentation as 
appropriate. Also make sure that it is possible to enable just senders 
without initializing the listeners.

Ruwan
>
> If you still think it's very important to have these two senders 
> enabled by default we can probably come up with a workaround. But I'm 
> not sure whether it is worth it.
>
> Thanks,
> Hiranya
>
>
>
>     Thanks,
>     Ruwan
>
>     [email protected] <mailto:[email protected]> wrote:
>     > Author: hiranya
>     > Date: Mon May  4 04:30:50 2009
>     > New Revision: 34791
>     > URL: http://wso2.org/svn/browse/wso2?view=rev&revision=34791
>     <http://wso2.org/svn/browse/wso2?view=rev&revision=34791>
>     >
>     > Log:
>     > Commenting out the JMS and VFS transport configs from the ESB
>     axis2.xml. These configs are now available in the respective
>     transport admin bundles and will be loaded from there during the
>     first run.
>     >
>     >
>     >
>     > Modified:
>     >    trunk/esb/java/modules/distribution/src/main/conf/axis2.xml
>     >
>     > Modified:
>     trunk/esb/java/modules/distribution/src/main/conf/axis2.xml
>     > URL:
>     
> http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/axis2.xml?rev=34791&r1=34790&r2=34791&view=diff
>     
> <http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/axis2.xml?rev=34791&r1=34790&r2=34791&view=diff>
>     >
>     
> ==============================================================================
>     > --- trunk/esb/java/modules/distribution/src/main/conf/axis2.xml
>           (original)
>     > +++ trunk/esb/java/modules/distribution/src/main/conf/axis2.xml
>           Mon May  4 04:30:50 2009
>     > @@ -323,8 +323,8 @@
>     >              <!--supports Strict|AllowAll|DefaultAndLocalhost or
>     the default if none specified -->
>     >      </transportSender>
>     >
>     > -    <transportSender name="jms"
>     class="org.apache.axis2.transport.jms.JMSSender">
>     > -        <!-- uncomment this and configure to use connection
>     pools for sending messages
>     > +     <!-- uncomment this and configure to use connection pools
>     for sending messages
>     > +     <transportSender name="jms"
>     class="org.apache.axis2.transport.jms.JMSSender">
>     >          <parameter name="myTopicConnectionFactory">
>     >              <parameter
>     
> name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
>     >              <parameter
>     name="java.naming.provider.url">tcp://localhost:61616</parameter>
>     > @@ -344,10 +344,10 @@
>     >              <parameter
>     name="java.naming.provider.url">tcp://localhost:61616</parameter>
>     >              <parameter
>     
> name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
>     >              <parameter
>     name="transport.jms.ConnectionFactoryType"
>     locked="false">queue</parameter>
>     > -        </parameter> -->
>     > -    </transportSender>
>     > +        </parameter> >
>     > +    </transportSender-->
>     >
>     > -    <transportSender name="vfs"
>     class="org.apache.synapse.transport.vfs.VFSTransportSender"/>
>     > +    <!--transportSender name="vfs"
>     class="org.apache.synapse.transport.vfs.VFSTransportSender"/-->
>     >
>     >      <!-- Uncomment and configure the SMTP server information
>     >      check com.sun.mail.smtp package documentation for
>     descriptions of properties
>     >
>     > _______________________________________________
>     > Esb-java-dev mailing list
>     > [email protected] <mailto:[email protected]>
>     > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>     >
>     >
>
>
>     --
>     Ruwan Linton
>     Senior Software Engineer & Product Manager; WSO2 ESB;
>     http://wso2.org/esb
>     WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org
>     email: [email protected] <mailto:[email protected]>; cell: +94 77 341 3097
>     blog: http://ruwansblog.blogspot.com
>
>
>     _______________________________________________
>     Esb-java-dev mailing list
>     [email protected] <mailto:[email protected]>
>     https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>
>
>
>
> -- 
> Hiranya Jayathilaka
> Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected] <mailto:[email protected]>;  Mobile: +94 77 
> 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Esb-java-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>   


-- 
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com


_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to