RE: [jira] Commented: (SM-1001) FtpReceiverEndpoint (InternalEndpoint)

2007-07-31 Thread rabi.mishra

Guillaumme,

Thanks for reviewing the patch. I thought of having the flexibility of
specifying opeations and their parameters either while configuring the
endpoint (xbean.xml) or as part of the message. As the endpoint is
required to be thread-safe I now feel that we can not have both the
options. 
What  are your thoughts on this.. May be I do not understand the
internals completely... 

I considered the follwing usecases. 

1. Send  InOnly exchanges to a target endpoint. 
2. Answer to an InOut exchange (operations like file/directory listing,
get file content etc)

Again, when you talk about a real WSDL, if I understand correctly you
mean to create static wsdl for all the operations possible. How do you
envisage to differentiate the different MEPs  for the same operations
(sending the file content to a target vs returing to the consumer), do
you expect to have different operations for them in the WSDL??

Can you please elaborate your thoughts on this?



Regards,
Rabi Mishra, 
Wipro Technologies,Office: +91-20-39104549, VOIP:842
2545,CELL+91(0)9890363765  
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */ 
-Original Message-
From: Guillaume Nodet (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 30, 2007 8:12 PM
To: [EMAIL PROTECTED]
Subject: [jira] Commented: (SM-1001) FtpReceiverEndpoint
(InternalEndpoint)


[
https://issues.apache.org/activemq/browse/SM-1001?page=com.atlassian.jir
a.plugin.system.issuetabpanels:comment-tabpanel#action_39796 ] 

Guillaume Nodet commented on SM-1001:
-

I think there is one big problem: the message contains some
informations used to configure the endpoint when the message is
received.
This means that the endpoint is not thread safe.  Endpoints have to be,
as they are given exchanges concurrently.

Another thing is that I' d really like to have a real WSDL to describe
the interface for this endpoint, the operations and their parameters.

> FtpReceiverEndpoint (InternalEndpoint)
> ---
>
> Key: SM-1001
> URL: https://issues.apache.org/activemq/browse/SM-1001
> Project: ServiceMix
>  Issue Type: Improvement
>Reporter: Rabi
> Attachments: patch.txt
>
>
> FtpReceiverEndpoint (InternalEndpoint)
> - Can accpet in-out mep for listing files
> - Supports InOnly mep for get/mget operations...
> Usage:
> xbean configuration:
> --
> http://servicemix.apache.org/ftp/1.0";
>xmlns:b="http://servicemix.apache.org/samples/ftp-receiver";>
> endpoint="endpoint"
>   uri="ftp://rabi:[EMAIL PROTECTED]">   
>   
>   
>   
>   
>
> Input Message structure
> -
>   xmlns:ftp="http://servicemix.apache.org/ftp/1.0"; operation="mget" 
> recursive="true" filter="*" relativeUri="/inbox">  Output 
> for file listing
> 
> STATUS: 200
>   xmlns:ftp="http://servicemix.apache.org/ftp/1.0";>
>  
> /http/inbox/data/inner/tx.xml
>  
>  /http/inbox/data/servicemix.xml
> 
> This is a very simple version. Please suggest on the improvements..

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com


RE: [jira] Commented: (SM-1000) ServiceMix :: Maven2 JBI Plugin checkstyle issues

2007-07-12 Thread rabi.mishra

Greg,
 
Thats right... thanks for pointing that out.. I have updated it..Anyway, is 
there any specific reason for these checkstyle supressions..WIP??? 



From: Gert Vanthienen (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Thu 7/12/2007 7:08 PM
To: [EMAIL PROTECTED]
Subject: [jira] Commented: (SM-1000) ServiceMix :: Maven2 JBI Plugin checkstyle 
issues




[ 
https://issues.apache.org/activemq/browse/SM-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39661
 ]

Gert Vanthienen commented on SM-1000:
-

Rabi,

My checkout has a CheckStyle suppresion for this particular check in the 
GraphArtifactCollector class registered in 
{{build/src/main/resources/smx-checkstyle-suppressions.xml}}.  Can you check if 
you have that too?  Perhaps your build/ directory needs another update...

Gert

> ServiceMix :: Maven2 JBI Plugin checkstyle issues
> --
>
> Key: SM-1000
> URL: https://issues.apache.org/activemq/browse/SM-1000
> Project: ServiceMix
>  Issue Type: Bug
>  Components: tooling
>Affects Versions: 3.2
> Environment: Windows
>Reporter: Rabi
>
> [INFO] Building ServiceMix :: Maven2 JBI Plugin
> [INFO]task-segment: [install]
> [INFO] 
> -
> ---
> [INFO] Ignoring available plugin update: 2.3 as it requires Maven version 
> 2.0.5
> [INFO] [checkstyle:checkstyle {execution: validate}]
> [INFO] Starting audit...
> E:\Rabi\work\workspace\servicemix\tooling\jbi-maven-plugin\src\main\java\org\apa
> che\servicemix\maven\plugin\jbi\GraphArtifactCollector.java:58:37: More than 
> 7 p
> arameters.
> E:\Rabi\work\workspace\servicemix\tooling\jbi-maven-plugin\src\main\java\org\apa
> che\servicemix\maven\plugin\jbi\GraphArtifactCollector.java:96:18: More than 
> 7 p
> arameters.
> E:\Rabi\work\workspace\servicemix\tooling\jbi-maven-plugin\src\main\java\org\apa
> che\servicemix\maven\plugin\jbi\JbiComponentDescriptorWriter.java:37: method 
> def
>  modifier at indentation level 2 not at correct indentation, 4
> E:\Rabi\work\workspace\servicemix\tooling\jbi-maven-plugin\src\main\java\org\apa
> che\servicemix\maven\plugin\jbi\JbiComponentDescriptorWriter.java:37:15: More 
> th
> an 7 parameters.
> Audit done.
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] An error has occurred in Checkstyle report generation.
> Embedded error: There are 4 checkstyle errors.
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Wed Jul 11 16:34:15 IST 2007
> [INFO] Final Memory: 13M/24M
> [INFO] 
> 

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.






The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com