Author: vikas
Date: Mon Jan 16 20:22:04 2006
New Revision: 369677
URL: http://svn.apache.org/viewcvs?rev=369677&view=rev
Log:
Consistency across testSendProcessor() and testSendProcessorMultipleTimes()
when creating an instance of ServiceClient.
Modified:
incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
Modified:
incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
URL:
http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java?rev=369677&r1=369676&r2=369677&view=diff
==============================================================================
---
incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
(original)
+++
incubator/synapse/trunk/java/test/org/apache/synapse/spi/injection/SendOnProcessorWithRuleTest.java
Mon Jan 16 20:22:04 2006
@@ -65,14 +65,15 @@
public void testSendProcessorMultipleTimes() throws Exception {
for (int i = 0; i < 10; i++) {
- ServiceClient serviceClient = new ServiceClient();
+ ServiceClient serviceClient = new ServiceClient(
+ Axis2EvnSetup.createConfigurationContextFromFileSystem(
+ "target/synapse-repository-sendon"), null);
Options options = new Options();
options.setTo(targetEpr);
serviceClient.setOptions(options);
OMElement response =
serviceClient.sendReceive(Axis2EvnSetup.payload());
assertEquals("Synapse Testing String_Response",
response.getText());
- //serviceClient.finalizeInvoke();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]