Hi Sriram,
I just used google to do a quick search, the error may relate to the
anonymous complexTypes in your wsdl.
Here is the link[1] which talks about it.
[1]
http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
Willem
Sriram C wrote:
>
> I have defined a CXF jaxws e
I have defined a CXF jaxws endpoint. The incoming message to this end point
has an element which is defined as a ComplexType in the wsdl. The CXF
wsdl2java utility generates this complextype with an @XmlType annotation.
Since it is missing the @XmlRootElement annotation, the
FallbackTypeConverter
As usual, one thing calls for another... I created a MultipartRestletBinder
that simply overrides populateExchangeFromRestletRequest(), checks for
multipart content, and leverages the FileUpload extension if applicable.
However, once that operated appropriately (for my case of uploading images),
I submitted a fix (Committed revision 749772). Let me know if you see
other issues. Thanks.
Cheers,
William
On Tue, Mar 3, 2009 at 3:36 PM, William Tam wrote:
> I'm looking into it.
>
> https://issues.apache.org/activemq/browse/CAMEL-1416
>
>
> On Tue, Mar 3, 2009 at 12:08 PM, Claus Ibsen wro
I'm looking into it.
https://issues.apache.org/activemq/browse/CAMEL-1416
On Tue, Mar 3, 2009 at 12:08 PM, Claus Ibsen wrote:
> Hi
>
> Looks like the # reference failed.
> serviceClass="#reportIncidentEndpoint"
>
> eg # instructs Camel / CXF to lookup in Spring for a bean with that
Hi
Looks like the # reference failed.
serviceClass="#reportIncidentEndpoint"
eg # instructs Camel / CXF to lookup in Spring for a bean with that id.
Got the attention of Willem Tam or William Jiang.
On Tue, Mar 3, 2009 at 5:46 PM, cmoulliard wrote:
>
> Hi,
>
> Camel 2.0-SNAPSHO
Hi
Charles can you try again with latest code from 2.0-SNAPSHOT
I have fixed camel-bindy to use a class resolver that is OSGi aware if
you run in OSGi
On Tue, Mar 3, 2009 at 1:24 PM, Claus Ibsen wrote:
> On Tue, Mar 3, 2009 at 1:13 PM, Willem Jiang wrote:
>> Hi Charles,
>>
>> I think you can
Hi
Did we see which type it tries to convert to? You have only said it
throws 10 exceptions but it should log which type it wanted to convert
it to.
That will also help.
On Tue, Mar 3, 2009 at 4:35 PM, Claus Ibsen wrote:
> On Tue, Mar 3, 2009 at 4:19 PM, paquettd wrote:
>>
>> Not only avoiding
Hi,
Camel 2.0-SNAPSHOT & Cxf-2.2.-SNAPSHOT returns the following error :
2009-03-03 17:42:06,906 DEBUG DisposableBeanAdapter - Invoking destroy() on
bean with name 'camelContext'
2009-03-03 17:42:06,906 ERROR MainSupport - Failed:
org.springframework.beans.factory.BeanCreationException: Error c
Hi
You need the camel: prefix to use the same namespace as the other stuff
camel:convertBodyTo
On Tue, Mar 3, 2009 at 5:34 PM, cmoulliard wrote:
>
> Hi,
>
> The following syntax in my spring DSL
>
> type="org.apache.camel.example.reportincident.domain.InputReportIncident" />
>
> generates an
Hi,
The following syntax in my spring DSL
generates an error :
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'convertBodyTo'. One of
'{"http://camel.apache.org/schema/spring":from,
"http://camel.apache.org/schema/spring":agg
On Tue, Mar 3, 2009 at 4:19 PM, paquettd wrote:
>
> Not only avoiding the try..catch but just running through all the reflection
> code over and over again can't be cheap either.
It has a local cache so the lookup will be fast as its a map.
But its the throws .. catch exception that is expensive
Not only avoiding the try..catch but just running through all the reflection
code over and over again can't be cheap either.
willem.jiang wrote:
>
> Maybe we could add some kind of type converter cache to avoid the try
> ... catch work to improve the performance.
>
> Willem
>
> paquettd wrot
Maybe we could add some kind of type converter cache to avoid the try
... catch work to improve the performance.
Willem
paquettd wrote:
> Thank you for trying to help. I'm attaching my config file here. As you can
> see this is a contrived example I made to test performance (I used a similar
> e
ObjectHelper will load the class with trying to use the
threadContextClassLoader first.
Since your bundle doen't import the org.apache.camel.component.jms.*.
The threadContextClassLoader which is set to use your bundle classloader
can't see the QueueBrowserStrategy. You will get the ClassNotFoundE
No they don't..
I peeked into the code that tries to load the QueueBrowserStrategy, and it
seemt that it doesnt try the contextclasslaoder at all (I am using camel
1.5.0), did i peek hard enough?
Ideally one don't want to have references to packages other than camel-core,
and let camel sort the
Thank you for trying to help. I'm attaching my config file here. As you can
see this is a contrived example I made to test performance (I used a similar
example with some other products).
Essentially what's happening is a String is being sent with the
ProducerTemplate send method; setting the typ
On Tue, Mar 3, 2009 at 1:13 PM, Willem Jiang wrote:
> Hi Charles,
>
> I think you can get the ResolverUtil from the camel context.
> Maybe we need to do some changes on the bindy component.
Yeah I will expose some nice APIs for that in Camel 2.0, so you can
get the ResolverUtil from the CamelConte
Hi Charles,
I think you can get the ResolverUtil from the camel context.
Maybe we need to do some changes on the bindy component.
Willem
cmoulliard wrote:
> Do you see a temporary workaround because I'm blocked ?
>
>
> Claus Ibsen-2 wrote:
>> Hi
>>
>> Yeah this resolver needs to be OSGi aware
Thanks for your help. It works now
willem.jiang wrote:
>
> Hi Charles,
>
> Since Spring support to load the schema from class patch, the camel
> context that I proposed should work :)
> If you want to run outside of a OSGI server , you need to add the
> dependency of camel-osgi module.
>
> Pl
Yes Claus. Unfortunately, I work on a Windows XP machine.
I confirm that sometimes I have the error and sometimes I don't.
Claus Ibsen-2 wrote:
>
> Hi
>
> Are you by any chance running on Windows platform? I am just curious
> as we have got a report on windows with 1.x sometimes can not move
Do you see a temporary workaround because I'm blocked ?
Claus Ibsen-2 wrote:
>
> Hi
>
> Yeah this resolver needs to be OSGi aware also.
>
> I think we need to provide these resolvers on the CamelContext so
> component authors like you can use them to resolve classes and
> whatelse, and it wo
Hi Charles,
Since Spring support to load the schema from class patch, the camel
context that I proposed should work :)
If you want to run outside of a OSGI server , you need to add the
dependency of camel-osgi module.
Please check out this pom.xml[1] as an example.
[1]
http://svn.apache.org/repos
Hi
Yeah this resolver needs to be OSGi aware also.
I think we need to provide these resolvers on the CamelContext so
component authors like you can use them to resolve classes and
whatelse, and it would be transparent for you if it was regular or
OSGi platforms.
See ticket 1411 that is about thi
Hi Willem,
It works (I mean the file can be processed by Camel) but
1) in DEBUG mode, the log of SMX4 server is polluted by hundreds of line
like this :
12:11:01,687 | DEBUG | ompon...@1d4f279 | ResolverUtil |
g.apache.camel.util.ResolverUtil 571 | Could not find class
'or
Hi,
Two remarks concerning what you propose :
1) If i try to use the camel context as you propose (using osgi schema),
camel cannot run localy (outside of a OSGI server)
[INFO] Classpath =
[file:/D:/Dvlpt/Java/workspace-ganymede/osgi/reportincident.interfaces/target/classes/,
file:/c:/.m2/repos
Hi
Just as Gert said.
In CXF , we will cache the big message into the File instead of the memory.
I think we could do the same thing in Camel.
I just filled a JIRA[2] for it.
[1] http://www.nabble.com/Re%3A-StreamCaching-in-Camel-1.6-to22305858.html
[2] https://issues.apache.org/activemq/browse
Hi
Are you by any chance running on Windows platform? I am just curious
as we have got a report on windows with 1.x sometimes can not move
file after processing.
On Tue, Mar 3, 2009 at 11:31 AM, cmoulliard wrote:
>
> You are right ;-) The file was locked by another application.
>
>
> Claus Ibse
You are right ;-) The file was locked by another application.
Claus Ibsen-2 wrote:
>
> It is trying to delete the file first. Are you sure its not locked or
> something by another app.
>
> Could you try again and be sure the existing file is not open by some
> other apps.
>
>
> On Tue, Mar 3
I just want to ask a question, did your bundle has the import of
org.apache.camel.component.jms.* ?
If so, the ObjectHelper should be able to load the default
QueueBrowserStrategy.
Willem
willem.jiang wrote:
>
> Hi ,
>
> I just created a JIRA[1] for your issue.
> And will commit a quick fi
Jens,
Stream caching is turned on automatically when you use a
DeadLetterChannel as the error handler. Because the Exchange might be
redelivered or sent to the DLQ destination, we have to cache it before
we send it into the DLC. Adding an errorHandler(noErrorHandler()); to
the configure() method
Hi ,
I just created a JIRA[1] for your issue.
And will commit a quick fix for it.
If you have time please check out the latest camel 2.0 snapshot to verify
it.
[1] https://issues.apache.org/activemq/browse/CAMEL-1412
Willem
atlep wrote:
>
> I am using camel in a OSGI (Felix) environment,
Hi,
I have run into a problem with stream caching in Camel 1.6. I have a route
that reads data via streaming from an Http request. In some cases this can
be a large amount of data, so I cannot stream the data completely into
memory. I wrote this little test to demonstrate my problem:
@Test
It is trying to delete the file first. Are you sure its not locked or
something by another app.
Could you try again and be sure the existing file is not open by some
other apps.
On Tue, Mar 3, 2009 at 10:36 AM, cmoulliard wrote:
>
> I don't if this point must be fixed or not but when a file alr
I don't if this point must be fixed or not but when a file already exist in
the 'done' directory, then the following error is generated :
2009-03-03 10:34:00,937 ERROR FileConsumer - Cannot rename file:
GenericFile[d:\temp\data\csv.txt] to: GenericFile[d:\temp\done\csv.txt]
org.apache.camel.comp
On Tue, Mar 3, 2009 at 10:32 AM, cmoulliard wrote:
>
> OK. By the way it works fine with absolute paths.
I will commit a fix in a few mins with the patch for the relative to
work as well.
Could you try this on your system?
>
>
> Claus Ibsen-2 wrote:
>>
>> The problem is that you mix and match abs
OK. By the way it works fine with absolute paths.
Claus Ibsen-2 wrote:
>
> The problem is that you mix and match absolute with relative.
>
> I will add a fix but you should also use absolute paths for the move
> expression as a workaround.
>
>
> On Tue, Mar 3, 2009 at 10:16 AM, cmoulliard w
The problem is that you mix and match absolute with relative.
I will add a fix but you should also use absolute paths for the move
expression as a workaround.
On Tue, Mar 3, 2009 at 10:16 AM, cmoulliard wrote:
>
> Hi claus,
>
> I receive the following error :
>
> 2009-03-03 10:09:41,859 ERROR F
Hi claus,
I receive the following error :
2009-03-03 10:09:41,859 ERROR FileConsumer -
java.lang.NullPointerException
at
org.apache.camel.component.file.GenericFile.changeFileName(GenericFile.java:119)
at
org.apache.camel.component.file.strategy.GenericFileExpressionRenamer.ren
On Tue, Mar 3, 2009 at 9:56 AM, Martin Krasser wrote:
> ... just updated the enricher documentation with an example aggregation
> strategy.
>
> Martin
Thanks a lot.
>
> Peter Maas schrieb:
>>
>> On Mar 3, 2009, at 8:10 , Claus Ibsen wrote:
>>
>>> On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote:
... just updated the enricher documentation with an example aggregation
strategy.
Martin
Peter Maas schrieb:
On Mar 3, 2009, at 8:10 , Claus Ibsen wrote:
On Tue, Mar 3, 2009 at 7:56 AM, Peter Maas wrote:
I think you've solved my problem. I was looking at the 'in' message
of the
resource e
Hi Claus,
As explained in my message, everything works fine when running outside of
SMXKNL4. So, the issue is related to OSGI.
Regards,
Charles
Claus Ibsen-2 wrote:
>
> Hi Charles
>
> Can you try it outside OSGi, eg running from a unit test or something.
> Just to get the fact straight whet
Hi
I just wrote a test to check the fallback converter's loading the
registering. Every thing looks good.
So I guess there are some thing wrong with the setting up of
OsgiAnnotationTypeConverterLoader.
@Charles, Can you change your camel context like this ?
http://www.springframework.org/schem
On Tue, Mar 3, 2009 at 8:55 AM, Nivetha Shri wrote:
> Hi All
> I want to know how we can combine dynamic routing and load balancing.
>
> For dynamic routing am using @RecipientList annotation as follows
>
> public class RoutingComponent{
> �...@recipientlist
> public String[] route(String Bod
44 matches
Mail list logo