[jira] Commented: (SM-999) InOut to InOnly pattern Endpoint for eip-su

2007-07-12 Thread Andrea Zoppello (JIRA)

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

Andrea Zoppello commented on SM-999:



Hi Guillaume,

Take a look at the code of the class 
it.eng.spagosoa.smx.components.sync.Synchronizer in the spagic-components 
distribution.

We need this component basically to address the use case where 

1) client applications need to call a webservice binding component and to get 
a response

2)  the process behind binding component could be quite complex ( not just only 
one se )

3) the process need to be modelled in visual tool ( Spagic Studio ) 

By the way if you look at the code you can see that basically  the syncronizer 
that basically it manage an InOutExchange this is  keep in and an InOnly 
exchange is created.

If you want more details the Spagic Components Guide contains an example of 
that.

 InOut to InOnly pattern Endpoint for eip-su
 ---

 Key: SM-999
 URL: https://issues.apache.org/activemq/browse/SM-999
 Project: ServiceMix
  Issue Type: Improvement
  Components: servicemix-eip
Reporter: Netflexity
 Attachments: InOutToInEndpoint.java


 Please add the following pattern to be able to use components that support 
 only InOnly MEPs for InOut components. Attached file illustrates the idea.

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



[jira] Issue Comment Edited: (SM-999) InOut to InOnly pattern Endpoint for eip-su

2007-07-12 Thread Andrea Zoppello (JIRA)

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

Andrea Zoppello edited comment on SM-999 at 7/12/07 12:19 AM:
--

Hi Guillaume,

Take a look at the code of the class 
it.eng.spagosoa.smx.components.sync.Synchronizer in the spagic-components 
distribution.

We need this component basically to address the use case where 

1) client applications need to call a webservice binding component and to get 
a response

2)  the process behind binding component could be quite complex ( not just only 
one se )

3) the process need to be modelled in visual tool ( Spagic Studio ) 

By the way if you look at the code you can see that basically it manage an 
InOutExchange this is  keep in and an InOnly exchange is created.

If you want more details the Spagic Components Guide contains an example of 
that.


 was:

Hi Guillaume,

Take a look at the code of the class 
it.eng.spagosoa.smx.components.sync.Synchronizer in the spagic-components 
distribution.

We need this component basically to address the use case where 

1) client applications need to call a webservice binding component and to get 
a response

2)  the process behind binding component could be quite complex ( not just only 
one se )

3) the process need to be modelled in visual tool ( Spagic Studio ) 

By the way if you look at the code you can see that basically  the syncronizer 
that basically it manage an InOutExchange this is  keep in and an InOnly 
exchange is created.

If you want more details the Spagic Components Guide contains an example of 
that.

 InOut to InOnly pattern Endpoint for eip-su
 ---

 Key: SM-999
 URL: https://issues.apache.org/activemq/browse/SM-999
 Project: ServiceMix
  Issue Type: Improvement
  Components: servicemix-eip
Reporter: Netflexity
 Attachments: InOutToInEndpoint.java


 Please add the following pattern to be able to use components that support 
 only InOnly MEPs for InOut components. Attached file illustrates the idea.

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



Re: SecuredBroker and responses

2007-07-12 Thread Thomas Termin
Sounds like a good idea for me.

Piotr Bzdyl wrote:
 Hi,
 
 I am trying to use SecuredBroker but I have one problem with its
 current implementation. If the user is not authorized to send the
 exchange do the endpoint, then the SecurityException is thrown and the
 exchange is not sent back to the calling component. This is the cause
 that the caller won't get any response.
 
 Shouldn't it return the exchange to the caller with status set to
 ERROR and the security exception set as an error on the message
 exchange?
 
 Thanks and regards,
 Piotr
 


-- 
Thomas Termin
___
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel:  (+49) 0711 - 45 10 17 676
Fax:  (+49) 0711 - 45 10 17 573
WWW:  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz  : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
GeschÀftsfÌhrer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle



Re: SecuredBroker and responses

2007-07-12 Thread Piotr Bzdyl

I tried to change existing code to not throw the exception but to set
the error on the exchange being routed but as I expected an
IllegalStateException is thrown since SecuredBroker is not the owner
of the message exchange.

Do you know how it can be handled?

Piotr

On 7/12/07, Thomas Termin [EMAIL PROTECTED] wrote:

Sounds like a good idea for me.

Piotr Bzdyl wrote:
 Hi,

 I am trying to use SecuredBroker but I have one problem with its
 current implementation. If the user is not authorized to send the
 exchange do the endpoint, then the SecurityException is thrown and the
 exchange is not sent back to the calling component. This is the cause
 that the caller won't get any response.

 Shouldn't it return the exchange to the caller with status set to
 ERROR and the security exception set as an error on the message
 exchange?

 Thanks and regards,
 Piotr



--
Thomas Termin
___
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel:  (+49) 0711 - 45 10 17 676
Fax:  (+49) 0711 - 45 10 17 573
WWW:  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz  : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
GeschÀftsfÌhrer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle




[jira] Commented: (SM-990) FilePoller with Archiving

2007-07-12 Thread Gert Vanthienen (JIRA)

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

Gert Vanthienen commented on SM-990:


Perhaps we can create a more generic solution for this:  with SM-751 we have a 
correlation id that allows us to do flow tracing, so it should be possible to 
build an auditor that is triggered whenever a new message arrives (at any kind 
of endpoint: FTP, File, HTTP, ...) and sends a copy of the message to an 
archiving endpoint.

 FilePoller with Archiving
 -

 Key: SM-990
 URL: https://issues.apache.org/activemq/browse/SM-990
 Project: ServiceMix
  Issue Type: Improvement
  Components: servicemix-components, servicemix-file
Affects Versions: 3.1
Reporter: Juergen Mayrbaeurl
Priority: Minor

 The various FilePoller implementations should archive the files before 
 deleting them (e.g. by copying them to another directory)

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



[jira] Updated: (SM-935) Allow to specify additional JNDI properties

2007-07-12 Thread Gert Vanthienen (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gert Vanthienen updated SM-935:
---

Attachment: SM-935.patch

Phiroze,

The attached patch should enable you to specify jndiProperties=... on the 
jms:endpoint/.  Can you help me try it out before I commit it?

Gert

 Allow to specify additional JNDI properties
 ---

 Key: SM-935
 URL: https://issues.apache.org/activemq/browse/SM-935
 Project: ServiceMix
  Issue Type: New Feature
  Components: servicemix-jms
Affects Versions: 3.1
Reporter: Gert Vanthienen
Priority: Minor
 Attachments: SM-935.patch


 In addition to using initialContext and jndiProviderUrl to configure a JMS 
 endpoint, it should be possible to specify additional JNDI properties (e.g 
 {{java.naming.security.principal}}, {{java.naming.security.credentials}})

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



[jira] Created: (SM-1002) Service mix hangs when the # concurrent requests exceeds the maxConnectionsPerHost

2007-07-12 Thread Ruwan Linton (JIRA)
Service mix hangs when the # concurrent requests exceeds the 
maxConnectionsPerHost
--

 Key: SM-1002
 URL: https://issues.apache.org/activemq/browse/SM-1002
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-core
 Environment: Unix, Java 1.5
Reporter: Ruwan Linton


When I am doing a performance test I have sent more than 40 concurrent requests 
from a single host to servicemix, and the maxConnectionsPerHost was 40. It is 
acceptable the failing to respond when it exceeds 40 (maxConnectionsPerHost) 
concurrent requests.

But afterward, SM hangs.

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



[jira] Commented: (SM-1002) Service mix hangs when the # concurrent requests exceeds the maxConnectionsPerHost

2007-07-12 Thread Thomas Termin (JIRA)

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

Thomas Termin commented on SM-1002:
---

Maybe you could add an example which I could try.

 Service mix hangs when the # concurrent requests exceeds the 
 maxConnectionsPerHost
 --

 Key: SM-1002
 URL: https://issues.apache.org/activemq/browse/SM-1002
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-core
 Environment: Unix, Java 1.5
Reporter: Ruwan Linton

 When I am doing a performance test I have sent more than 40 concurrent 
 requests from a single host to servicemix, and the maxConnectionsPerHost was 
 40. It is acceptable the failing to respond when it exceeds 40 
 (maxConnectionsPerHost) concurrent requests.
 But afterward, SM hangs.

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



[jira] Commented: (SM-1002) Service mix hangs when the # concurrent requests exceeds the maxConnectionsPerHost

2007-07-12 Thread Thomas Termin (JIRA)

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

Thomas Termin commented on SM-1002:
---

Can you give a bit more information. For example describe the involved 
components. Could you provide a threaddump for it? (kill -3)


 Service mix hangs when the # concurrent requests exceeds the 
 maxConnectionsPerHost
 --

 Key: SM-1002
 URL: https://issues.apache.org/activemq/browse/SM-1002
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-core
 Environment: Unix, Java 1.5
Reporter: Ruwan Linton

 When I am doing a performance test I have sent more than 40 concurrent 
 requests from a single host to servicemix, and the maxConnectionsPerHost was 
 40. It is acceptable the failing to respond when it exceeds 40 
 (maxConnectionsPerHost) concurrent requests.
 But afterward, SM hangs.

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



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

2007-07-12 Thread Rabi (JIRA)

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

Rabi commented on SM-1000:
--


Gret,

Yes, this checkout was from the trunk. I am still having the same error.

I can see this method in GraphArtifactCollector.java with 8 parameters..

 public ArtifactResolutionResult collect(
Set artifacts,
Artifact originatingArtifact, 
Map managedVersions,
ArtifactRepository localRepository, 
List remoteRepositories,
ArtifactMetadataSource source, 
ArtifactFilter filter, 
List listeners) throws ArtifactResolutionException {


I am using maven 2.0.6 and jdk 1.6.0..   Do you think this could be a
probem with the java version.





Regards,
Rabi Mishra 
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */ 


 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.



[jira] Commented: (SM-1002) Service mix hangs when the # concurrent requests exceeds the maxConnectionsPerHost

2007-07-12 Thread Ruwan Linton (JIRA)

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

Ruwan Linton commented on SM-1002:
--

I just deployed a http consumer and a provider linked directly to create a 
proxy for an existing service

xbean config for the http-consumer

?xml version=1.0?
beans xmlns:http=http://servicemix.apache.org/http/1.0;
   xmlns:b=http://esb.wso2.org/perf/proxy;

http:endpoint service=b:http
   endpoint=endpoint
   targetService=b:SimpleStockQuoteService
   role=consumer
   locationURI=http://10.100.1.43:8192/proxy;
   defaultMep=http://www.w3.org/2004/08/wsdl/in-out;
   soap=true/
/beans


and here is the xbean config for the provider


?xml version=1.0 encoding=UTF-8?
beans xmlns:http=http://servicemix.apache.org/http/1.0;
   xmlns:b=http://esb.wso2.org/perf/proxy;

  http:endpoint service=b:SimpleStockQuoteService
 endpoint=soap
 role=provider 
 
locationURI=http://10.100.1.44:9000/soap/SimpleStockQuoteService;
 defaultMep=http://www.w3.org/2004/08/wsdl/in-out;
 soap=true 
 soapVersion=1.1/

/beans

and the component.properties file entry servicemix-http.maxConnectionsPerHost 
was set to 30 and after 36 requests it fails and hangs,

To get more information about our perf test please refer to the article 
http://wso2.org/library/1721

 Service mix hangs when the # concurrent requests exceeds the 
 maxConnectionsPerHost
 --

 Key: SM-1002
 URL: https://issues.apache.org/activemq/browse/SM-1002
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-core
 Environment: Unix, Java 1.5
Reporter: Ruwan Linton

 When I am doing a performance test I have sent more than 40 concurrent 
 requests from a single host to servicemix, and the maxConnectionsPerHost was 
 40. It is acceptable the failing to respond when it exceeds 40 
 (maxConnectionsPerHost) concurrent requests.
 But afterward, SM hangs.

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



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

2007-07-12 Thread Gert Vanthienen (JIRA)

[ 
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.



configuring sevicemix-jms to IBM MQ

2007-07-12 Thread unni_varun

Hi,

I'm facing some problems when jms xbean is configured to IBM MQ. following
is my xbean contents.

  jms:endpoint service=iq:jms
endpoint=endpoint
role=provider 
destinationStyle=queue
jmsProviderDestinationName=Q1.SQ
processorName=standard
connectionFactory=#connectionFactory
   /

  bean id=connectionFactory
class=com.ibm.mq.jms.MQQueueConnectionFactory
property name=queueManager value=SampleQM1 /
property name=transportType value=1 /
property name=hostName value=localhost /
property name=port value=1417 /
  /bean

Is there something else i need to configure in it.

Thanks in anticipation
Varun
-- 
View this message in context: 
http://www.nabble.com/configuring-sevicemix-jms-to-IBM-MQ-tf4068169s12049.html#a11560239
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.



[jira] Commented: (SM-1003) soapVersion http endpoint attribute fails when using wsdl deployment

2007-07-12 Thread Dan M (JIRA)

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

Dan M commented on SM-1003:
---

See SM-348 for introduction of the soapVersion feature.


 soapVersion http endpoint attribute fails when using wsdl deployment
 

 Key: SM-1003
 URL: https://issues.apache.org/activemq/browse/SM-1003
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-http
Affects Versions: 3.1
 Environment: Fedora 6, Java 1.5.0_11, ServiceMix 3.1
Reporter: Dan M
Priority: Minor

 The soapVersion attribute works only when the su is deployed using an xbean.  
 Wsdl deployment seems to ignore the attribute.
 From service description:
 smix:endpoint soapVersion=1.1 role=provider defaultMep=in-out/
 From log:
 DEBUG - content  -  ?xml version='1.0' encoding='UTF-8'?env:Envelope 
 xmlns:env=http://www.w3.org/2003/05/soap-envelope;

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