Spring & Tika integration: is my approach thread-safe?
Asked Answered
M

1

13

I'm interested in Spring & Apache Tika integration. Is this approach thread-safe?

<bean id="tika" class="org.apache.tika.Tika"/>

Can I safely call detect() method from different threads?

Are there any Spring-Tika integration patterns?

Thanks in advance.

Manhole answered 17/4, 2012 at 12:11 Comment(0)
C
14

According to this http://comments.gmane.org/gmane.comp.apache.tika.user/677

and this

http://issues.liferay.com/browse/LPS-15824

and this

http://web.archiveorange.com/archive/v/99aTkiOCyApHaqASS5CS

it would suggest yes.

Though there have been bugs with the thread safety

https://issues.apache.org/jira/browse/TIKA-599

Cavicorn answered 22/6, 2012 at 20:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.