| Summary: | Camel SQL gateway can't lookup for DataSource in Camel Context | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Robert Balent <rbalent> | ||||||
| Component: | 3rd Party | Assignee: | Default User <jbpapp-maint> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.3.0 GA | CC: | mvecera, soa-p-jira, tcunning | ||||||
| Target Milestone: | ER2 | ||||||||
| Target Release: | 5.3.0 GA | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.3.0 GA | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-05-10 09:23:34 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 814297 | ||||||||
| Attachments: |
|
||||||||
|
Description
Robert Balent
2012-04-19 11:45:41 UTC
Created attachment 578614 [details]
Camel SQL reporoducer
The problem here looks to me like you're using a datasource in the java: namespace, which Camel can't see. If you use a datasource in the global namespace (you need to set <use-java-context/>, you shouldn't have this issue :
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<use-java-context>false</use-java-context>
...
I still see the space issue, which I believe is represented by https://bugzilla.redhat.com/show_bug.cgi?id=814297 but I don't believe this to be an issue.
Yes, you are right. Good work Tom. So I'm closing this issue as a NOTABUG. |