You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ron Gavlin (JIRA)" <ji...@apache.org> on 2008/11/04 04:49:06 UTC

[jira] Updated: (SM-1673) Improve error handling in smx-camel

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

Ron Gavlin updated SM-1673:
---------------------------

    Attachment: sm-1673-bug.patch

The attached patch includes a revised test that causes the smx-camel thread to hang. When I suspend the thread, the following stack trace is generated.

Thread [main] (Suspended)	
	Unsafe.park(boolean, long) line: not available [native method] [local variables unavailable]	
	LockSupport.park() line: 118	
	AbstractQueuedSynchronizer.parkAndCheckInterrupt() line: 681	
	CountDownLatch$Sync(AbstractQueuedSynchronizer).doAcquireSharedInterruptibly(int) line: 837	
	CountDownLatch$Sync(AbstractQueuedSynchronizer).acquireSharedInterruptibly(int) line: 1144	
	CountDownLatch.await() line: 199	
	AsyncProcessorHelper.process(AsyncProcessor, Exchange) line: 49	
	UnitOfWorkProcessor(DelegateAsyncProcessor).process(Exchange) line: 66	
	CamelProviderEndpoint.handleActiveProviderExchange(MessageExchange) line: 94	
	CamelProviderEndpoint.process(MessageExchange) line: 73	
	CamelJbiComponent(AsyncBaseLifeCycle).doProcess(Endpoint, MessageExchange) line: 600	
	CamelJbiComponent(AsyncBaseLifeCycle).processExchange(MessageExchange) line: 554	
	CamelJbiComponent(AsyncBaseLifeCycle).onMessageExchange(MessageExchange) line: 510	
	SyncLifeCycleWrapper.onMessageExchange(MessageExchange) line: 60	
	DeliveryChannelImpl.processInBound(MessageExchangeImpl) line: 610	
	STFlow(AbstractFlow).doRouting(MessageExchangeImpl) line: 170	
	STFlow.doSend(MessageExchangeImpl) line: 49	
	STFlow(AbstractFlow).send(MessageExchange) line: 123	
	DefaultBroker.sendExchangePacket(MessageExchange) line: 283	
	SpringJBIContainer(JBIContainer).sendExchange(MessageExchangeImpl) line: 830	
	DeliveryChannelImpl.doSend(MessageExchangeImpl, boolean) line: 395	
	DeliveryChannelImpl.send(MessageExchange) line: 431	
	DefaultServiceMixClient.send(MessageExchange) line: 147	
	JbiInOnlyWithErrorHandledTrueSpringDSLTest.testErrorHandledByExceptionClause() line: 58	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object...) line: 585	
	JbiInOnlyWithErrorHandledTrueSpringDSLTest(TestCase).runTest() line: 154	
	JbiInOnlyWithErrorHandledTrueSpringDSLTest(TestCase).runBare() line: 127	
	TestResult$1.protect() line: 106	
	TestResult.runProtected(Test, Protectable) line: 124	
	TestResult.run(TestCase) line: 109	
	JbiInOnlyWithErrorHandledTrueSpringDSLTest(TestCase).run(TestResult) line: 118	
	JUnit3TestReference.run(TestExecution) line: 130	
	TestExecution.run(ITestReference[]) line: 38	
	RemoteTestRunner.runTests(String[], String, TestExecution) line: 460	
	RemoteTestRunner.runTests(TestExecution) line: 673	
	RemoteTestRunner.run() line: 386	
	RemoteTestRunner.main(String[]) line: 196	

> Improve error handling in smx-camel
> -----------------------------------
>
>                 Key: SM-1673
>                 URL: https://issues.apache.org/activemq/browse/SM-1673
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-camel
>    Affects Versions: servicemix-camel-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>         Attachments: sm-1673-bug.patch, smx-camel-errorhandling-tests.patch
>
>
> Improve error handling in smx-camel. I have attached additional unit tests to exercise error/fault handling functionality.

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